[FFmpeg-devel] [PATCH] avcodec/pthread_slice: rewrite implementation

Muhammad Faiz mfcc64 at gmail.com
Sun Jul 9 19:28:34 EEST 2017

On Sun, Jul 9, 2017 at 6:45 PM, Ronald S. Bultje <rsbultje at gmail.com> wrote:
> Hi,
> On Sun, Jul 9, 2017 at 6:27 AM, Muhammad Faiz <mfcc64 at gmail.com> wrote:
>> Avoid pthread_cond_broadcast that wakes up all workers. Make each of them
>> uses distict mutex/cond. Also let main thread help running jobs.
> Hm... I'm not against this, but I actually had plans to write some
> extensions and allow the main thread to do something else (this is probably
> fairly vp9-specific), and this would prevent that. In vp9, specifically for
> tile decoding, I'd like to use the main thread for 1 thing and the worker
> threads for other things. Maybe we can make this configurable?

Post a new patch to address this issue and fix fate failure.


More information about the ffmpeg-devel mailing list