[FFmpeg-devel] [PATCH 2/2] ffmpeg: use thread message API.
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: Digital signature
More information about the ffmpeg-devel