[vlc-commits] direct3d11: better debug of the format/chroma mapping

Steve Lhomme git at videolan.org
Wed Apr 20 20:28:45 CEST 2016


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Thu Apr  7 16:23:31 2016 +0200| [ea8202315639cb5c4d13dee2d309788b57001351] | committer: Jean-Baptiste Kempf

direct3d11: better debug of the format/chroma mapping

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ea8202315639cb5c4d13dee2d309788b57001351
---

 modules/video_output/win32/direct3d11.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c
index 417f4b8..6b813cf 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -1025,7 +1025,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;
@@ -1046,7 +1047,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;



More information about the vlc-commits mailing list