diff options
author | van <[email protected]> | 2009-05-17 07:35:27 +0000 |
---|---|---|
committer | van <[email protected]> | 2009-05-17 07:35:27 +0000 |
commit | d6e052156455ffdec949459f0b3c478187ddcc37 (patch) | |
tree | 9748aefce398fb5df8d42c3ea8cc920f337180fc /libhb/stream.c | |
parent | d450ca8e986491380da858ef63c04241ce4e2710 (diff) |
Get rid of silence inserted at the beginning of mp4/mov/mkv files. GENPTS seems to do the wrong thing on files with real time stamps & inserts a delay equal to the audio/video interleave offset.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2424 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/stream.c')
-rw-r--r-- | libhb/stream.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libhb/stream.c b/libhb/stream.c index e9f60c431..1e49d76f5 100644 --- a/libhb/stream.c +++ b/libhb/stream.c @@ -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); |