summaryrefslogtreecommitdiffstats
path: root/libhb/bd.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2014-10-02 21:05:08 +0000
committerjstebbins <[email protected]>2014-10-02 21:05:08 +0000
commit7265c862c042e81f0b86e7df8b58ee69d9cb9e83 (patch)
tree9289bb66d25218890c73331c55f91dedb57688a0 /libhb/bd.c
parent9254fa47939e055f39f1cd5f8db52268d498558d (diff)
libhb: improve preview generateion when there are no IDRs
Puts the decoder into a mode that returns *all* frames. I.e. it won't just scan to the end of the file looking for an IDR. Then we decode multiple frames (up to 100) searching for an I frame. This way, the reconstructed frame we use for a preview is more likely to be complete. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6430 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/bd.c')
-rw-r--r--libhb/bd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libhb/bd.c b/libhb/bd.c
index 6cef95609..06d4feaef 100644
--- a/libhb/bd.c
+++ b/libhb/bd.c
@@ -350,7 +350,6 @@ hb_title_t * hb_bd_title_scan( hb_bd_t * d, int tt, uint64_t min_duration )
case BLURAY_STREAM_TYPE_VIDEO_H264:
title->video_codec = WORK_DECAVCODECV;
title->video_codec_param = AV_CODEC_ID_H264;
- title->flags |= HBTF_NO_IDR;
break;
default: