]> granicus.if.org Git - handbrake/commit
libhb: fix scanning of video that is a single GOP
authorjstebbins <jstebbins.hb@gmail.com>
Tue, 9 Sep 2014 14:32:26 +0000 (14:32 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Tue, 9 Sep 2014 14:32:26 +0000 (14:32 +0000)
commit54dbf9c1dea56d271b1760e7f6b085914b0cff7c
tree926702a322267e7cf6b11c08131d0a21b673da65
parenta2572742cad5e1156fdd8d2c0050f2c675e02670
libhb: fix scanning of video that is a single GOP
With this type of stream, scan only successfully decodes 1 frame.
Eliminating the flush after seek allows decoding more frames.
Note that there is a side effect of allowing some junk frames to be decoded,
so we only skip the flush if normal scanning finds only 1 frame.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6396 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb/scan.c
libhb/stream.c