[vlc-devel] [PATCH] d3d11va: fix compilations
Steve Lhomme
robux4 at videolabs.io
Tue Aug 2 11:41:09 CEST 2016
oops
---
modules/codec/avcodec/d3d11va.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/codec/avcodec/d3d11va.c b/modules/codec/avcodec/d3d11va.c
index 7f75b93..a5a8d76 100644
--- a/modules/codec/avcodec/d3d11va.c
+++ b/modules/codec/avcodec/d3d11va.c
@@ -311,6 +311,10 @@ static int Extract(vlc_va_t *va, picture_t *output, uint8_t *data)
D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC viewDesc;
ID3D11VideoDecoderOutputView_GetDesc( src, &viewDesc );
+
+ D3D11_TEXTURE2D_DESC dstDesc;
+ ID3D11Texture2D_GetDesc( (ID3D11Texture2D*) p_sys_out->texture, &dstDesc);
+
/* copy decoder slice to surface */
D3D11_BOX copyBox = {
.right = dstDesc.Width, .bottom = dstDesc.Height, .back = 1,
--
2.8.2
More information about the vlc-devel
mailing list