Commit 5913e1e8 authored by Steve Lhomme's avatar Steve Lhomme

image: remove default buffer callback implementation

parent 7ec3211a
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment