]> 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:22 +0000 (12:27 -0600)
commit7e346baaa3ce8df0b03ab64ce78434aa68a8b5d3
tree82ee1e613ae8c7dcec3f35f89281abbdfced1e3b
parentf09dc2daecdd2567eb860a6491d0f7b6c9cb289a
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
libhb/scan.c