[vlc-devel] [PATCH v1 04/33] opencv_wrapper: use helper function to filter a picture

Steve Lhomme robux4 at ycbcr.xyz
Fri Sep 25 16:46:40 CEST 2020


---
 modules/video_filter/opencv_wrapper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_filter/opencv_wrapper.c b/modules/video_filter/opencv_wrapper.c
index 2ce695913f9..f34de3f4e7c 100644
--- a/modules/video_filter/opencv_wrapper.c
+++ b/modules/video_filter/opencv_wrapper.c
@@ -414,7 +414,7 @@ static picture_t* Filter( filter_t* p_filter, picture_t* p_pic )
     VlcPictureToIplImage( p_filter, p_pic );
     // Pass the image (as a pointer to the first IplImage*) to the
     // internal OpenCV filter for processing.
-    p_sys->p_opencv->pf_video_filter( p_sys->p_opencv, (picture_t*)&(p_sys->p_cv_image[0]) );
+    filter_FilterSingle( p_sys->p_opencv, (picture_t*)&(p_sys->p_cv_image[0]) );
 
     if(p_sys->i_wrapper_output == PROCESSED) {
         // Processed video
-- 
2.26.2



More information about the vlc-devel mailing list