[vlc-devel] [PATCH 08/14] image: remove default buffer callback implementation

Steve Lhomme robux4 at ycbcr.xyz
Thu Jul 25 12:34:07 CEST 2019


---
 src/misc/image.c | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/src/misc/image.c b/src/misc/image.c
index d1743d2a5b..dabb2f1468 100644
--- a/src/misc/image.c
+++ b/src/misc/image.c
@@ -779,23 +779,12 @@ static void DeleteEncoder( encoder_t * p_enc )
     vlc_object_delete(p_enc);
 }
 
-static picture_t *filter_new_picture( filter_t *p_filter )
-{
-    return picture_NewFromFormat( &p_filter->fmt_out.video );
-}
-
-static const struct filter_video_callbacks image_filter_cbs =
-{
-    filter_new_picture,
-};
-
 static filter_t *CreateConverter( vlc_object_t *p_this, const es_format_t *p_fmt_in,
                                const video_format_t *p_fmt_out )
 {
     filter_t *p_filter;
 
     p_filter = vlc_custom_create( p_this, sizeof(filter_t), "filter" );
-    p_filter->video_owner.video = &image_filter_cbs;
 
     es_format_Copy( &p_filter->fmt_in, p_fmt_in );
     es_format_Copy( &p_filter->fmt_out, p_fmt_in );
-- 
2.17.1



More information about the vlc-devel mailing list