[FFmpeg-devel] threadmessage improvements v2

2015-12-02 Thread Clément Bœsch
Improvements & changes regarding last iteration: [PATCH 1/3] avutil/threadmessage: add av_thread_message_flush() - the flushing function can be set through a dedicated function instead of a new constructor prototype - the flush function is now fixed regarding messages larger than a pointer...

[FFmpeg-devel] threadmessage improvements v2.1

2015-12-02 Thread Clément Bœsch
sorry wrong patchset. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] threadmessage improvements v2

2015-12-02 Thread Nicolas George
Le duodi 12 frimaire, an CCXXIV, Clement Boesch a écrit : > - the flushing function can be set through a dedicated function instead of a > new constructor prototype If I read the patch correctly, you seem to have fumbled your rebasing. The deprecation is still there and the setter function is

Re: [FFmpeg-devel] threadmessage improvements v2

2015-12-02 Thread Clément Bœsch
On Wed, Dec 02, 2015 at 04:01:40PM +0100, Nicolas George wrote: > Le duodi 12 frimaire, an CCXXIV, Clement Boesch a écrit : > > - the flushing function can be set through a dedicated function instead of a > > new constructor prototype > > If I read the patch correctly, you seem to have fumbled

[FFmpeg-devel] threadmessage improvements

2015-11-30 Thread Clément Bœsch
So I've been playing with threadmessage a bit. Since I'm trying to extend the API for (currently) external usage, I'm also adding an API test. I've been triggering deadlocks thoughm, typically by setting queue_size=1. I haven't investigated but I think the issue lies in the fact that there is a