[vlc-commits] ci filters: remove default buffer callback implementation

Steve Lhomme git at videolan.org
Wed Sep 18 09:06:15 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Jul 19 10:19:18 2019 +0200| [7ec3211a7d49d87e3b19e447d26b887fcf0968b2] | committer: Steve Lhomme

ci filters: remove default buffer callback implementation

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

 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 cb80eb8bad..236fc3452a 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)
     {



More information about the vlc-commits mailing list