[vlc-commits] win32: comment out nonsensical code to build

Rémi Denis-Courmont git at videolan.org
Sun Jun 10 16:49:37 CEST 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jun 10 17:49:20 2018 +0300| [247ed4767f1eabd0a5fca852021579e3ddbb58d3] | committer: Rémi Denis-Courmont

win32: comment out nonsensical code to build

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

 modules/hw/d3d11/d3d11_deinterlace.c | 4 ++--
 modules/hw/d3d9/dxva2_deinterlace.c  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/hw/d3d11/d3d11_deinterlace.c b/modules/hw/d3d11/d3d11_deinterlace.c
index ec5029e9ba..8ddc36a26a 100644
--- a/modules/hw/d3d11/d3d11_deinterlace.c
+++ b/modules/hw/d3d11/d3d11_deinterlace.c
@@ -464,8 +464,8 @@ int D3D11OpenDeinterlace(vlc_object_t *obj)
        goto error;
     }
 
-    sys->buffer_new = filter->owner.video.buffer_new;
-    filter->owner.video.buffer_new = NewOutputPicture;
+    //sys->buffer_new = filter->owner.video.buffer_new;
+    //filter->owner.video.buffer_new = NewOutputPicture;
     filter->fmt_out.video   = out_fmt;
     filter->pf_video_filter = Deinterlace;
     filter->pf_flush        = Flush;
diff --git a/modules/hw/d3d9/dxva2_deinterlace.c b/modules/hw/d3d9/dxva2_deinterlace.c
index 2b90536cbb..48a2fed706 100644
--- a/modules/hw/d3d9/dxva2_deinterlace.c
+++ b/modules/hw/d3d9/dxva2_deinterlace.c
@@ -488,8 +488,8 @@ int D3D9OpenDeinterlace(vlc_object_t *obj)
     CoTaskMemFree(processorGUIDs);
     IDirectXVideoProcessorService_Release(processor);
 
-    sys->buffer_new = filter->owner.video.buffer_new;
-    filter->owner.video.buffer_new = NewOutputPicture;
+    //sys->buffer_new = filter->owner.video.buffer_new;
+    //filter->owner.video.buffer_new = NewOutputPicture;
     filter->fmt_out.video   = out_fmt;
     filter->pf_video_filter = Deinterlace;
     filter->pf_flush        = Flush;



More information about the vlc-commits mailing list