[FFmpeg-devel] [PATCH 3/3] avcodec/vulkan_decode: print also codec header name
Lynne
dev at lynne.ee
Fri Aug 25 06:02:53 EEST 2023
Aug 23, 2023, 22:06 by kasper93 at gmail.com:
> Signed-off-by: Kacper Michajłow <kasper93 at gmail.com>
> ---
> libavcodec/vulkan_decode.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/libavcodec/vulkan_decode.c b/libavcodec/vulkan_decode.c
> index 7607edf52e..0d561b7450 100644
> --- a/libavcodec/vulkan_decode.c
> +++ b/libavcodec/vulkan_decode.c
> @@ -863,6 +863,9 @@ static int vulkan_decode_get_profile(AVCodecContext *avctx, AVBufferRef *frames_
> caps->maxDpbSlots);
> av_log(avctx, AV_LOG_VERBOSE, " Maximum active references: %u\n",
> caps->maxActiveReferencePictures);
> + av_log(avctx, AV_LOG_VERBOSE, " Codec header name: '%s' (driver), '%s' (compiled)\n",
> + caps->stdHeaderVersion.extensionName,
> + dec_ext[avctx->codec_id]->extensionName);
> av_log(avctx, AV_LOG_VERBOSE, " Codec header version: %i.%i.%i (driver), %i.%i.%i (compiled)\n",
> CODEC_VER(caps->stdHeaderVersion.specVersion),
> CODEC_VER(dec_ext[avctx->codec_id]->specVersion));
>
Pushed, along with the first commit in the patchset.
As for the second, Mesa still doesn't signal a correct version,a
and I'd rather have at least one fully working implementation at any time.
More information about the ffmpeg-devel
mailing list