]> granicus.if.org Git - handbrake/commit
scan: enable HBTF_NO_IDR when not enough previews found
authorJohn Stebbins <jstebbins.hb@gmail.com>
Tue, 11 Apr 2017 18:23:56 +0000 (12:23 -0600)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Tue, 11 Apr 2017 18:27:54 +0000 (12:27 -0600)
commita49d8e2a3695c0ec5c2b9d92e1dbdca37eba1193
tree797b85a5abc4b94d953e7a1d1b5a940a812dfd3e
parent91ed34ff38d46f389e841c46fe27b7cbfed8467c
scan: enable HBTF_NO_IDR when not enough previews found

Setting this flag signals to libav to not wait for IDR or recovery
points before returning frames to us.  Some videos have neither IDRs or
recovery points, so this fixes transcoding such video.

Fixes https://github.com/HandBrake/HandBrake/issues/456

(cherry picked from commit 7e346baaa3ce8df0b03ab64ce78434aa68a8b5d3)
libhb/scan.c