diff options
author | van <[email protected]> | 2008-07-26 01:20:56 +0000 |
---|---|---|
committer | van <[email protected]> | 2008-07-26 01:20:56 +0000 |
commit | b3bc6dccde26b1b072a583bce8f5726e85ca2fd0 (patch) | |
tree | 1730301ea79410c56b39a6b0b33aa3865e7c2c06 /libhb/muxmkv.c | |
parent | e529b1dbda55f01e21fe6fb04ee7f85c2e755725 (diff) |
Use PTS, not DTS, in encx264 output frames so we don't have to special-case its output in every muxer. Confine code that deals with Apple's mistakes in handling video with b-frames to muxmp4.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1582 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/muxmkv.c')
-rw-r--r-- | libhb/muxmkv.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libhb/muxmkv.c b/libhb/muxmkv.c index 0c2c00ada..6217820b5 100644 --- a/libhb/muxmkv.c +++ b/libhb/muxmkv.c @@ -251,14 +251,7 @@ static int MKVMux( hb_mux_object_t * m, hb_mux_data_t * mux_data, if (mux_data == job->mux_data) { /* Video */ - if ((job->vcodec == HB_VCODEC_X264) && (job->areBframes)) - { - timecode = (buf->start + (buf->renderOffset)) * TIMECODE_SCALE; - } - else - { - timecode = buf->start * TIMECODE_SCALE; - } + timecode = buf->start * TIMECODE_SCALE; if (job->chapter_markers && (buf->new_chap || timecode == 0)) { |