Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: src/media_tools/media_import.c
- ===================================================================
- RCS file: /cvsroot/gpac/gpac/src/media_tools/media_import.c,v
- retrieving revision 1.114
- diff -u -r1.114 media_import.c
- --- src/media_tools/media_import.c 24 Oct 2008 17:55:09 -0000 1.114
- +++ src/media_tools/media_import.c 1 Nov 2008 16:41:11 -0000
- @@ -5961,7 +5961,6 @@
- while (gf_ac3_parser_bs(bs, &hdr, 0)) {
- samp->dataLength = hdr.framesize;
- -
- if (import->flags & GF_IMPORT_USE_DATAREF) {
- e = gf_isom_add_sample_reference(import->dest, track, di, samp, gf_bs_get_position(bs) );
- gf_bs_skip_bytes(bs, samp->dataLength);
- @@ -5975,12 +5974,13 @@
- }
- if (e) goto exit;
- - gf_set_progress("Importing AAC", done, tot_size);
- + gf_set_progress("Importing AC3", done, tot_size);
- samp->DTS += 1536;
- done += samp->dataLength;
- if (duration && (samp->DTS > duration)) break;
- if (import->flags & GF_IMPORT_DO_ABORT) break;
- + if (done > tot_size) break;
- }
- MP4T_RecomputeBitRate(import->dest, track);
- gf_set_progress("Importing AC3", tot_size, tot_size);
Advertisement
Add Comment
Please, Sign In to add comment