Also I should note the multithreaded decode of h.264 never fails. I have only seen it for png files on "some" machines.
Regards, Ben On Oct 13, 2014 11:10 AM, "wm4" <[email protected]> wrote: > On Mon, 13 Oct 2014 17:02:09 +0000 (UTC) > Carl Eugen Hoyos <[email protected]> wrote: > > > Ben Mesander <ben@...> writes: > > > > > If the underlying ffmpeg library is compiled withe > > > --disable-pthreads the code always works correctly. If > > > that is not the case, sometimes avcodec_decode_video2() > > > returns the number of bytes in the PNG, but does not > > > set the frame complete flag to true. > > > > The decoder (luckily!) supports multi-threading. If you > > don't like it (you just have to call avcodec_decode_video2() > > iirc), just set the thread count to 1 before opening the > > decoder. > > Well, duh, he's reporting a bug with it, not that he doesn't like it. > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user >
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
