vlc | branch: master | Steve Lhomme <[email protected]> | Tue Feb 6 09:19:05 2018 +0100| [5762aec06e63a9c4096daa07bfe63c68a2285521] | committer: Steve Lhomme
avcodec: log each decoder format we try to use Otherwise it's hard to tell when different hardware acceleration & CPU formats. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5762aec06e63a9c4096daa07bfe63c68a2285521 --- modules/codec/avcodec/video.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c index 3e9601eed9..a23b38ce90 100644 --- a/modules/codec/avcodec/video.c +++ b/modules/codec/avcodec/video.c @@ -1603,6 +1603,8 @@ static enum PixelFormat ffmpeg_GetFormat( AVCodecContext *p_context, msg_Err(p_dec, "unspecified video dimensions"); continue; } + 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 */ post_mt(p_sys); _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
