From f6aa52e42670656d62f6635646ba900e1cf675e4 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Wed, 3 May 2017 16:02:01 +0200 Subject: [PATCH] Libavcodec: show info which codec is not supported Show info which UltraGrid codec is not supported - has no transcoding to libavcodec native pixel formats. --- src/video_compress/libavcodec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_compress/libavcodec.cpp b/src/video_compress/libavcodec.cpp index ea91416fb..fb928c976 100644 --- a/src/video_compress/libavcodec.cpp +++ b/src/video_compress/libavcodec.cpp @@ -739,7 +739,7 @@ static bool configure_with(struct state_video_compress_libav *s, struct video_de } if (pix_fmt == AV_PIX_FMT_NONE) { - log_msg(LOG_LEVEL_WARNING, "[lavc] Unable to find suitable pixel format.\n"); + log_msg(LOG_LEVEL_WARNING, "[lavc] Unable to find suitable pixel format for: %s.\n", get_codec_name(desc.color_spec)); if (s->requested_subsampling != 0) { log_msg(LOG_LEVEL_ERROR, "[lavc] Requested subsampling not supported. " "Try different subsampling, eg. "