diff options
author | ritsuka <[email protected]> | 2009-01-12 10:00:59 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2009-01-12 10:00:59 +0000 |
commit | 6ee1d1ee7d0be13cd5a842a656b6209a680f202b (patch) | |
tree | dc510a9ea0b42be7990db0317ea7730289fa58fc /libhb/muxmp4.c | |
parent | 7e73b3884143ae1fb8c8cd9a384c1ef959fa0a86 (diff) |
h.264 i frame shouldn't be marked as sync sample.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2077 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/muxmp4.c')
-rw-r--r-- | libhb/muxmp4.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libhb/muxmp4.c b/libhb/muxmp4.c index 0069716bf..11523a9d6 100644 --- a/libhb/muxmp4.c +++ b/libhb/muxmp4.c @@ -492,7 +492,8 @@ static int MP4Mux( hb_mux_object_t * m, hb_mux_data_t * mux_data, buf->size, duration, offset, - ((buf->frametype & HB_FRAME_KEY) != 0) ) ) + ( job->vcodec == HB_VCODEC_X264 && mux_data == job->mux_data ) ? + ( buf->frametype == HB_FRAME_IDR ) : ( ( buf->frametype & HB_FRAME_KEY ) != 0 ) ) ) { hb_error("Failed to write to output file, disk full?"); *job->die = 1; |