Commit 5762aec0 authored by Steve Lhomme's avatar Steve Lhomme

avcodec: log each decoder format we try to use

Otherwise it's hard to tell when different hardware acceleration & CPU formats.
parent 5ca1c04b
......@@ -1603,6 +1603,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