We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6abb76 commit a8d8adeCopy full SHA for a8d8ade
libavcodec/utils.c
@@ -1006,6 +1006,12 @@ static int setup_hwaccel(AVCodecContext *avctx,
1006
AVHWAccel *hwa = find_hwaccel(avctx->codec_id, fmt);
1007
int ret = 0;
1008
1009
+ if (avctx->active_thread_type & FF_THREAD_FRAME) {
1010
+ av_log(avctx, AV_LOG_ERROR,
1011
+ "Hardware accelerated decoding with frame threading is not supported.\n");
1012
+ return AVERROR(EINVAL);
1013
+ }
1014
+
1015
if (!hwa) {
1016
av_log(avctx, AV_LOG_ERROR,
1017
"Could not find an AVHWAccel for the pixel format: %s",
0 commit comments