parent
1215fbad96
commit
74b4134d2f
@ -293,6 +293,7 @@ static int vaapi_encode_h265_init_sequence_params(AVCodecContext *avctx)
|
|||||||
} else {
|
} else {
|
||||||
av_log(avctx, AV_LOG_ERROR, "Chroma format of input pixel format "
|
av_log(avctx, AV_LOG_ERROR, "Chroma format of input pixel format "
|
||||||
"%s is not supported.\n", desc->name);
|
"%s is not supported.\n", desc->name);
|
||||||
|
return AVERROR(EINVAL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
bit_depth = desc->comp[0].depth;
|
bit_depth = desc->comp[0].depth;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user