[vlc-commits] image: remove default buffer callback implementation
Steve Lhomme
git at videolan.org
Wed Sep 18 09:06:16 CEST 2019
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Jul 19 10:19:58 2019 +0200| [5913e1e82da99e309859e51ba7a5d57764e547b2] | committer: Steve Lhomme
image: remove default buffer callback implementation
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5913e1e82da99e309859e51ba7a5d57764e547b2
---
src/misc/image.c | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/src/misc/image.c b/src/misc/image.c
index 9d86cbc536..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->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 );
More information about the vlc-commits
mailing list