Commit 2514bca2 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

avcodec: log each decoder format we try to use

Otherwise it's hard to tell when different hardware acceleration & CPU formats.

(cherry picked from commit 5762aec0)
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent a2a07e80
......@@ -1589,6 +1589,8 @@ static enum PixelFormat ffmpeg_GetFormat( AVCodecContext *p_context,
msg_Err(p_dec, "unspecified video dimensions");
const AVPixFmtDescriptor *dsc = av_pix_fmt_desc_get(hwfmt);
msg_Dbg(p_dec, "trying format %s", dsc ? dsc->name : "unknown");
if (lavc_UpdateVideoFormat(p_dec, p_context, hwfmt, swfmt))
continue; /* Unsupported brand of hardware acceleration */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment