vlc | branch: master | Steve Lhomme <[email protected]> | Fri Mar 13 08:52:16 2020 +0100| [2c5144cbdb2f7a9c44249bbdda3b9297c85a4b0f] | committer: Steve Lhomme
dxva2: log the chroma sub-sampling of the source when selecting decoder format > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2c5144cbdb2f7a9c44249bbdda3b9297c85a4b0f --- modules/codec/avcodec/dxva2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/codec/avcodec/dxva2.c b/modules/codec/avcodec/dxva2.c index 6009fe826a..f2d8714ba2 100644 --- a/modules/codec/avcodec/dxva2.c +++ b/modules/codec/avcodec/dxva2.c @@ -470,8 +470,8 @@ static int DxSetupOutput(vlc_va_t *va, const directx_va_mode_t *mode, const vide preferredOutput = MAKEFOURCC('P','0','1','0'); else preferredOutput = MAKEFOURCC('N','V','1','2'); - msg_Dbg(va, "favor decoder format %4.4s (for %d bits)", (const char*)&preferredOutput, - mode->bit_depth); + msg_Dbg(va, "favor decoder format %4.4s (for 4:%d:%d %d bits)", (const char*)&preferredOutput, + (2-mode->log2_chroma_w)*2, (2-mode->log2_chroma_w-mode->log2_chroma_h)*2, mode->bit_depth); /* */ for (unsigned pass = 0; pass < 2 && err != VLC_SUCCESS; ++pass) _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
