]> granicus.if.org Git - handbrake/commitdiff
Get rid of silence inserted at the beginning of mp4/mov/mkv files. GENPTS seems to...
authorvan <vanj.hb@gmail.com>
Sun, 17 May 2009 07:35:27 +0000 (07:35 +0000)
committervan <vanj.hb@gmail.com>
Sun, 17 May 2009 07:35:27 +0000 (07:35 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2424 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/stream.c

index e9f60c431591e6ac91815389336c33ea82ca88a0..1e49d76f52a4dd3f2d1f8bf878eceecfe1185ce4 100644 (file)
@@ -2483,9 +2483,6 @@ static int ffmpeg_codec_param( hb_stream_t *stream, int stream_index )
 // (the original scan stream was closed and no longer exists).
 static void ffmpeg_remap_stream( hb_stream_t *stream, hb_title_t *title )
 {
-    // tell ffmpeg we want a pts on every frame it returns
-    stream->ffmpeg_ic->flags |= AVFMT_FLAG_GENPTS;
-
     // all the video & audio came from the same stream so remapping
     // the video's stream slot takes care of everything.
     int slot = title->video_codec_param & (ffmpeg_sl_size - 1);