[FFmpeg-devel] [PATCH 1/2] avutil/threadmessage: add av_thread_message_flush()
george at nsup.org
Tue Dec 1 18:49:29 CET 2015
Le primidi 11 frimaire, an CCXXIV, Clement Boesch a écrit :
> Ah. Well then the user can not do it himself since he has no way of
> acquiring the queue lock (AVThreadMessageQueue is opaque)
Yes, but why does it matter, if the elements are to be discarded anyway.
Ah, I think I see a point: this API is for the sender, not the receiver, and
you are afraid that the receiver can read one element in the middle while
the sender is flushing. Is that it?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the ffmpeg-devel