[vlc-devel] [PATCH 06/14] ci filters: remove default buffer callback implementation

Steve Lhomme robux4 at ycbcr.xyz
Tue Sep 17 16:22:34 CEST 2019


---
 modules/video_filter/ci_filters.m | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/modules/video_filter/ci_filters.m b/modules/video_filter/ci_filters.m
index cb80eb8bad4..236fc3452ae 100644
--- a/modules/video_filter/ci_filters.m
+++ b/modules/video_filter/ci_filters.m
@@ -537,16 +537,6 @@ Close_RemoveConverters(filter_t *filter, struct ci_filters_ctx *ctx)
     }
 }
 
-static picture_t *CVPX_to_CVPX_converter_BufferNew(filter_t *p_filter)
-{
-    return picture_NewFromFormat(&p_filter->fmt_out.video);
-}
-
-static const struct filter_video_callbacks image_filter_cbs =
-{
-    CVPX_to_CVPX_converter_BufferNew,
-};
-
 static filter_t *
 CVPX_to_CVPX_converter_Create(filter_t *filter, bool to_rgba)
 {
@@ -568,8 +558,6 @@ CVPX_to_CVPX_converter_Create(filter_t *filter, bool to_rgba)
         converter->fmt_in.i_codec = VLC_CODEC_CVPX_BGRA;
     }
 
-    converter->owner.video = &image_filter_cbs;
-
     converter->p_module = module_need(converter, "video converter", NULL, false);
     if (!converter->p_module)
     {
-- 
2.17.1



More information about the vlc-devel mailing list