[vlc-commits] [Git][videolan/vlc][master] opencv_wrapper: check the processed image before copying it

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Sun Jun 28 07:42:19 UTC 2026



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
55db19ef by Saifelden Mohamed Ismail at 2026-06-28T09:29:46+02:00
opencv_wrapper: check the processed image before copying it

- - - - -


1 changed file:

- modules/video_filter/opencv_wrapper.cpp


Changes:

=====================================
modules/video_filter/opencv_wrapper.cpp
=====================================
@@ -454,7 +454,7 @@ static picture_t* Filter( filter_t* p_filter, picture_t* p_pic )
                 picture_CopyPixels( p_outpic, p_outpic_tmp );
                 CopyInfoAndRelease( p_outpic, p_outpic_tmp );
             }
-        } else if( p_sys->i_internal_chroma == CINPUT ) {
+        } else if( p_sys->p_proc_image && p_sys->i_internal_chroma == CINPUT ) {
             picture_CopyPixels( p_outpic, p_sys->p_proc_image );
             picture_CopyProperties( p_outpic, p_sys->p_proc_image );
         }



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/55db19ef13f3962d4702abba5532e6c60a5571da

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/55db19ef13f3962d4702abba5532e6c60a5571da
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list