vlc | branch: master | Steve Lhomme <[email protected]> | Wed Jun 14 15:48:46 
2017 +0200| [51903419b061bee659522c6a418a32303387b992] | committer: Hugo 
Beauzée-Luyssen

d3d11_deinterlace: fix p_sys test

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

CID #1444696

Signed-off-by: Hugo Beauzée-Luyssen <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=51903419b061bee659522c6a418a32303387b992
---

 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;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to