Commit ca0e924d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

D3D11: fix msg_Dbg format strings

parent 29e9ee76
...@@ -1012,7 +1012,7 @@ static int Direct3D11Open(vout_display_t *vd, video_format_t *fmt) ...@@ -1012,7 +1012,7 @@ static int Direct3D11Open(vout_display_t *vd, video_format_t *fmt)
&i_formatSupport)) && &i_formatSupport)) &&
( i_formatSupport & i_quadSupportFlags ) == i_quadSupportFlags ) ( i_formatSupport & i_quadSupportFlags ) == i_quadSupportFlags )
{ {
msg_Dbg(vd, "Using pixel format %s with chroma %4.4s for source %4.4s", output_format->name, &output_format->fourcc, &i_src_chroma ); 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 );
fmt->i_chroma = output_format->fourcc; fmt->i_chroma = output_format->fourcc;
sys->picQuadConfig.textureFormat = output_format->formatTexture; sys->picQuadConfig.textureFormat = output_format->formatTexture;
sys->picQuadConfig.resourceFormatYRGB = output_format->formatY; sys->picQuadConfig.resourceFormatYRGB = output_format->formatY;
...@@ -1033,7 +1033,7 @@ static int Direct3D11Open(vout_display_t *vd, video_format_t *fmt) ...@@ -1033,7 +1033,7 @@ static int Direct3D11Open(vout_display_t *vd, video_format_t *fmt)
&i_formatSupport)) && &i_formatSupport)) &&
( i_formatSupport & i_quadSupportFlags ) == i_quadSupportFlags ) ( i_formatSupport & i_quadSupportFlags ) == i_quadSupportFlags )
{ {
msg_Dbg(vd, "Using pixel format %s for chroma %4.4s", output_format->name, &output_format->fourcc ); msg_Dbg(vd, "Using pixel format %s for chroma %4.4s", output_format->name, (char *)&output_format->fourcc );
fmt->i_chroma = output_format->fourcc; fmt->i_chroma = output_format->fourcc;
sys->picQuadConfig.textureFormat = output_format->formatTexture; sys->picQuadConfig.textureFormat = output_format->formatTexture;
sys->picQuadConfig.resourceFormatYRGB = output_format->formatY; sys->picQuadConfig.resourceFormatYRGB = output_format->formatY;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment