[vlc-commits] direct3d11: more debug of the format/chroma mapping
Steve Lhomme
git at videolan.org
Sun Oct 18 23:15:11 CEST 2015
vlc | branch: master | Steve Lhomme <robux4 at gmail.com> | Thu Oct 15 19:05:00 2015 +0200| [65167a3015280460b5536fe1d76fa886fcb130a3] | committer: Jean-Baptiste Kempf
direct3d11: more 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=65167a3015280460b5536fe1d76fa886fcb130a3
---
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 e9402e7..0ed144d 100644
--- a/modules/video_output/msw/direct3d11.c
+++ b/modules/video_output/msw/direct3d11.c
@@ -1010,7 +1010,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;
@@ -1031,7 +1031,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;
More information about the vlc-commits
mailing list