<p dir="ltr">Also I should note the multithreaded decode of h.264 never fails. I have only seen it for png files on "some" machines.</p>
<p dir="ltr">Regards,<br>
Ben</p>
<div class="gmail_quote">On Oct 13, 2014 11:10 AM, "wm4" <<a href="mailto:nfxjfg@googlemail.com">nfxjfg@googlemail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, 13 Oct 2014 17:02:09 +0000 (UTC)<br>
Carl Eugen Hoyos <<a href="mailto:cehoyos@ag.or.at">cehoyos@ag.or.at</a>> wrote:<br>
<br>
> Ben Mesander <ben@...> writes:<br>
><br>
> >   If the underlying ffmpeg library is compiled withe<br>
> > --disable-pthreads the code always works correctly. If<br>
> > that is not the case, sometimes avcodec_decode_video2()<br>
> > returns the number of bytes in the PNG, but does not<br>
> > set the frame complete flag to true.<br>
><br>
> The decoder (luckily!) supports multi-threading. If you<br>
> don't like it (you just have to call avcodec_decode_video2()<br>
> iirc), just set the thread count to 1 before opening the<br>
> decoder.<br>
<br>
Well, duh, he's reporting a bug with it, not that he doesn't like it.<br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</blockquote></div>