~ubuntu-branches/ubuntu/intrepid/gpac/intrepid-proposed

« back to all changes in this revision

Viewing changes to src/isomedia/tx3g.c

  • Committer: Bazaar Package Importer
  • Author(s): John Dong
  • Date: 2007-01-24 23:34:57 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20070124233457-zzlls8afkt0nyakj
Tags: 0.4.2~rc2-0ubuntu1
* New upstream release
  * Most notably MP4 tagging support via MP4Box -itags
* debian/patches/01_64bits.dpatch: dropped; included upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
304
304
        if (!e) e = gpp_write_modifier(bs, (GF_Box *)samp->wrap);
305
305
 
306
306
        if (!e) {
307
 
                for (i=0; i<gf_list_count(samp->others); i++) {
308
 
                        GF_Box *a = gf_list_get(samp->others, i);
 
307
                GF_Box *a;
 
308
                i=0;
 
309
                while ((a = gf_list_enum(samp->others, &i))) {
309
310
                        e = gpp_write_modifier(bs, a);
310
311
                        if (e) break;
311
312
                }
559
560
        Bool has_v_info;
560
561
        GF_List *sampleDesc;
561
562
        GF_ESD *esd;
562
 
 
563
 
 
 
563
        GF_TrackBox *tk;
564
564
 
565
565
        *out_esd = NULL;
566
566
        sampleDesc = mdia->information->sampleTable->SampleDescription->boxList;
587
587
 
588
588
        /*write v info if any visual track in this movie*/
589
589
        has_v_info = 0;
590
 
        for (i=0; i<gf_list_count(mdia->mediaTrack->moov->trackList); i++) {
591
 
                GF_TrackBox *tk = gf_list_get(mdia->mediaTrack->moov->trackList, i);
 
590
        i=0;
 
591
        while ((tk = gf_list_enum(mdia->mediaTrack->moov->trackList, &i))) {
592
592
                if (tk->Media->handler && (tk->Media->handler->handlerType == GF_ISOM_MEDIA_VISUAL)) {
593
593
                        has_v_info = 1;
594
594
                }