]> granicus.if.org Git - handbrake/commit
flush frames x264 has cached properly
authorjstebbins <jstebbins.hb@gmail.com>
Fri, 2 Apr 2010 17:12:13 +0000 (17:12 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Fri, 2 Apr 2010 17:12:13 +0000 (17:12 +0000)
commitc8fa75ef0f9d08063f37cbfc85f8301d8c9adcb4
treed40d1a07b78b6ccd593629fd0687a032fb88b1fb
parenta62905aa4be418585647054bb1b6e2ff2f9171d2
flush frames x264 has cached properly
waiting until the returned size is == 0 isn't adequate.
you must use the function x264_encoder_delayed_frames

encoding very short clips resulted in invalid unplayable files.

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