[vlc-commits] antiflicker: assert that planar CPU chromas are not used with a GPU vctx

Steve Lhomme git at videolan.org
Mon Dec 9 13:27:06 CET 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Nov  6 09:48:29 2019 +0100| [ef2f590e0cb15cff789c74ea5e7e9e11d67c7bc5] | committer: Steve Lhomme

antiflicker: assert that planar CPU chromas are not used with a GPU vctx

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

 modules/video_filter/antiflicker.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/video_filter/antiflicker.c b/modules/video_filter/antiflicker.c
index e8f54db6bd..568a84ae61 100644
--- a/modules/video_filter/antiflicker.c
+++ b/modules/video_filter/antiflicker.c
@@ -106,6 +106,7 @@ static int Create( vlc_object_t *p_this )
     switch( p_filter->fmt_in.video.i_chroma )
     {
         CASE_PLANAR_YUV
+            assert(p_filter->vctx_in == NULL);
             break;
 
         default:



More information about the vlc-commits mailing list