diff options
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; |