Re: [FFmpeg-devel] [PATCH] pthread_frame: uninit the hwaccel of each frame thread

2023-06-15 Thread Lynne
Jun 15, 2023, 20:26 by an...@khirnov.net: > Quoting Lynne (2023-06-13 04:11:35) > >> The issue is that with a threadsafe hwaccel and multiple enabled >> frame threads, hwaccel->uninit() is never called. >> Previously, the function was guaranteed to never have any threads >> with hwaccel contexts,

Re: [FFmpeg-devel] [PATCH] pthread_frame: uninit the hwaccel of each frame thread

2023-06-15 Thread Anton Khirnov
Quoting Lynne (2023-06-13 04:11:35) > The issue is that with a threadsafe hwaccel and multiple enabled > frame threads, hwaccel->uninit() is never called. > Previously, the function was guaranteed to never have any threads > with hwaccel contexts, so it never bothered to uninit it. > > Patch attac

Re: [FFmpeg-devel] [PATCH] pthread_frame: uninit the hwaccel of each frame thread

2023-06-14 Thread Lynne
Jun 13, 2023, 04:11 by d...@lynne.ee: > The issue is that with a threadsafe hwaccel and multiple enabled > frame threads, hwaccel->uninit() is never called. > Previously, the function was guaranteed to never have any threads > with hwaccel contexts, so it never bothered to uninit it. > > Patch att

[FFmpeg-devel] [PATCH] pthread_frame: uninit the hwaccel of each frame thread

2023-06-12 Thread Lynne
The issue is that with a threadsafe hwaccel and multiple enabled frame threads, hwaccel->uninit() is never called. Previously, the function was guaranteed to never have any threads with hwaccel contexts, so it never bothered to uninit it. Patch attached. --- diff --git a/libavcodec/pthread_frame.