[vlc-devel] [PATCH 5/7] direct3d11: more debug of the format/chroma mapping
Steve Lhomme
robux4 at videolabs.io
Thu Oct 15 19:05:00 CEST 2015
From: Steve Lhomme <robux4 at gmail.com>
---
modules/video_output/msw/direct3d11.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/video_output/msw/direct3d11.c b/modules/video_output/msw/direct3d11.c
index 92e7d60..de2ac7a 100644
--- a/modules/video_output/msw/direct3d11.c
+++ b/modules/video_output/msw/direct3d11.c
@@ -1014,7 +1014,7 @@ 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", output_format->name );
+ msg_Dbg(vd, "Using pixel format %s with chroma %4.4s for source %4.4s", output_format->name, &output_format->fourcc, &i_src_chroma );
fmt->i_chroma = output_format->fourcc;
sys->picQuadConfig.textureFormat = output_format->formatTexture;
sys->picQuadConfig.resourceFormatYRGB = output_format->formatY;
@@ -1035,7 +1035,7 @@ 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", output_format->name );
+ msg_Dbg(vd, "Using pixel format %s for chroma %4.4s", output_format->name, &output_format->fourcc );
fmt->i_chroma = output_format->fourcc;
sys->picQuadConfig.textureFormat = output_format->formatTexture;
sys->picQuadConfig.resourceFormatYRGB = output_format->formatY;
--
2.6.0
More information about the vlc-devel
mailing list