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

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


---
 src/video_output/vout_subpictures.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/video_output/vout_subpictures.c b/src/video_output/vout_subpictures.c
index 8766e7b5820..7650e73f228 100644
--- a/src/video_output/vout_subpictures.c
+++ b/src/video_output/vout_subpictures.c
@@ -996,7 +996,7 @@ static void SpuRenderRegion(spu_t *spu,
                 scale_yuvp->fmt_out.video = region->fmt;
                 scale_yuvp->fmt_out.video.i_chroma = chroma_list[0];
 
-                picture = scale_yuvp->pf_video_filter(scale_yuvp, picture);
+                picture = filter_FilterSingle(scale_yuvp, picture);
                 if (!picture) {
                     /* Well we will try conversion+scaling */
                     msg_Warn(spu, "%4.4s to %4.4s conversion failed",
@@ -1027,7 +1027,7 @@ static void SpuRenderRegion(spu_t *spu,
                 scale->fmt_out.video.i_visible_height =
                     spu_scale_h(region->fmt.i_visible_height, scale_size);
 
-                picture = scale->pf_video_filter(scale, picture);
+                picture = filter_FilterSingle(scale, picture);
                 if (!picture)
                     msg_Err(spu, "scaling failed");
             }
-- 
2.26.2



More information about the vlc-devel mailing list