[vlc-commits] direct3d11: log the actual source pixel format, not the assumed decoder one
Steve Lhomme
git at videolan.org
Fri Aug 3 07:20:41 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Aug 3 07:19:14 2018 +0200| [44bbb10adad1f2cbae7bb7f44bbec2191dd53ea4] | committer: Steve Lhomme
direct3d11: log the actual source pixel format, not the assumed decoder one
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=44bbb10adad1f2cbae7bb7f44bbec2191dd53ea4
---
modules/video_output/win32/direct3d11.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c
index a866e8994b..55481b3928 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -1317,10 +1317,10 @@ static int SetupOutputFormat(vout_display_t *vd, video_format_t *fmt)
return VLC_EGENERIC;
}
- fmt->i_chroma = decoder_format ? decoder_format->fourcc : sys->picQuad.textureFormat->fourcc;
-
msg_Dbg( vd, "Using pixel format %s for chroma %4.4s", sys->picQuad.textureFormat->name,
(char *)&fmt->i_chroma );
+
+ fmt->i_chroma = decoder_format ? decoder_format->fourcc : sys->picQuad.textureFormat->fourcc;
DxgiFormatMask( sys->picQuad.textureFormat->formatTexture, fmt );
/* check the region pixel format */
More information about the vlc-commits
mailing list