[vlc-devel] [PATCH 1/6] d3d11_deinterlace: fix p_sys test

Steve Lhomme robux4 at videolabs.io
Wed Jun 14 15:48:46 CEST 2017


It's the output picture coming from the vout, it should not have a picture->context

CID #1444696
---
 modules/video_output/win32/d3d11_deinterlace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_output/win32/d3d11_deinterlace.c b/modules/video_output/win32/d3d11_deinterlace.c
index 723c4ab8ff..309ba51d2a 100644
--- a/modules/video_output/win32/d3d11_deinterlace.c
+++ b/modules/video_output/win32/d3d11_deinterlace.c
@@ -145,7 +145,7 @@ static int Open(vlc_object_t *obj)
     picture_t *dst = filter_NewPicture(filter);
     if (dst == NULL)
         return VLC_EGENERIC;
-    if (!dst->p_sys && !dst->context)
+    if (!dst->p_sys)
     {
         msg_Dbg(filter, "D3D11 opaque without a texture");
         return VLC_EGENERIC;
-- 
2.12.1



More information about the vlc-devel mailing list