mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-09 14:14:39 +02:00
lavc/hevcdec: call ff_thread_finish_setup() even if hwaccel is in use
Serializing frame threading for non-threadsafe hwaccels is handled at the generic level, the decoder does not need to care about it.
This commit is contained in:
parent
4b9adb35b6
commit
631a725670
@ -3029,8 +3029,9 @@ static int hevc_frame_start(HEVCContext *s)
|
|||||||
ret = FF_HW_CALL(s->avctx, start_frame, NULL, 0);
|
ret = FF_HW_CALL(s->avctx, start_frame, NULL, 0);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
goto fail;
|
goto fail;
|
||||||
} else
|
}
|
||||||
ff_thread_finish_setup(s->avctx);
|
|
||||||
|
ff_thread_finish_setup(s->avctx);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user