[vlc-devel] [PATCH 3/3] direct3d11: better debug of the format/chroma mapping
Steve Lhomme
robux4 at videolabs.io
Thu Apr 7 16:23:31 CEST 2016
---
modules/video_output/msw/direct3d11.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/modules/video_output/msw/direct3d11.c b/modules/video_output/msw/direct3d11.c
index cd710ea..4854b9b 100644
--- a/modules/video_output/msw/direct3d11.c
+++ b/modules/video_output/msw/direct3d11.c
@@ -1022,7 +1022,8 @@ static int Direct3D11Open(vout_display_t *vd, video_format_t *fmt)
&i_formatSupport)) &&
( i_formatSupport & i_quadSupportFlags ) == i_quadSupportFlags )
{
- msg_Dbg(vd, "Using pixel format %s with chroma %4.4s for source %4.4s", output_format->name, (char *)&output_format->fourcc, (char *)&i_src_chroma );
+ msg_Dbg( vd, "Using pixel format %s from chroma %4.4s", output_format->name,
+ (char *)&i_src_chroma );
fmt->i_chroma = output_format->fourcc;
sys->picQuadConfig.textureFormat = output_format->formatTexture;
sys->picQuadConfig.resourceFormatYRGB = output_format->formatY;
@@ -1043,7 +1044,8 @@ static int Direct3D11Open(vout_display_t *vd, video_format_t *fmt)
&i_formatSupport)) &&
( i_formatSupport & i_quadSupportFlags ) == i_quadSupportFlags )
{
- msg_Dbg(vd, "Using pixel format %s for chroma %4.4s", output_format->name, (char *)&output_format->fourcc );
+ msg_Dbg( vd, "Using pixel format %s for chroma %4.4s", output_format->name,
+ (char *)&i_src_chroma );
fmt->i_chroma = output_format->fourcc;
sys->picQuadConfig.textureFormat = output_format->formatTexture;
sys->picQuadConfig.resourceFormatYRGB = output_format->formatY;
--
2.7.1
More information about the vlc-devel
mailing list