Re: [FFmpeg-devel] [RFC/PATCH] avcodec: deprecate thread_safe_callbacks

2020-05-22 Thread Lynne
May 22, 2020, 15:04 by an...@khirnov.net: > They add considerable complexity to frame-threading implementation, > which includes an unavoidably leaking error path, while the advantages > of this option to the users are highly dubious. > > It should be always possible and desirable for the callers

[FFmpeg-devel] [RFC/PATCH] avcodec: deprecate thread_safe_callbacks

2020-05-22 Thread Anton Khirnov
They add considerable complexity to frame-threading implementation, which includes an unavoidably leaking error path, while the advantages of this option to the users are highly dubious. It should be always possible and desirable for the callers to make their get_buffer2() implementation thread-sa