vlc | branch: master | Steve Lhomme <[email protected]> | Tue Nov 28 11:19:18 2017 +0100| [23c328d0f870ccbf9645011cb574ce88829752a9] | committer: Jean-Baptiste Kempf
direct3d11: remove write-only p_chroma_sampling Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=23c328d0f870ccbf9645011cb574ce88829752a9 --- modules/video_output/win32/direct3d11.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c index 328f5a2f27..448cac6c6b 100644 --- a/modules/video_output/win32/direct3d11.c +++ b/modules/video_output/win32/direct3d11.c @@ -106,7 +106,6 @@ typedef struct UINT PSConstantsCount; ID3D11PixelShader *d3dpixelShader; D3D11_VIEWPORT cropViewport; - const vlc_chroma_description_t *p_chroma_sampling; unsigned int i_width; unsigned int i_height; } d3d_quad_t; @@ -631,8 +630,6 @@ static picture_pool_t *Pool(vout_display_t *vd, unsigned pool_size) if (AllocateTextures(VLC_OBJECT(vd), &sys->d3d_dev, sys->picQuadConfig, &surface_fmt, 1, textures)) goto error; - sys->picQuad.p_chroma_sampling = vlc_fourcc_GetChromaDescription( surface_fmt.i_chroma ); - for (unsigned plane = 0; plane < D3D11_MAX_SHADER_VIEW; plane++) sys->stagingSys.texture[plane] = textures[plane]; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
