[FFmpeg-devel] [PATCH 2/2] ffmpeg: use thread message API.

Nicolas George george at nsup.org
Thu Feb 20 17:35:27 CET 2014

Le duodi 2 ventôse, an CCXXII, Clément Bœsch a écrit :
> No risk by having this loop entered once while it previously wouldn't
> have? (like typically in case of a premature error?)

There is no risk of that: the code that did set transcoding_finished to 1 to
stop the loop now calls av_thread_message_queue_set_err_send() and drains
the queue, which will cause the packet to be discarded.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140220/c588a33f/attachment.asc>

More information about the ffmpeg-devel mailing list