Commit 62ec62cb authored by Felix Paul Kühne's avatar Felix Paul Kühne

ci_filters: compilation fix

parent 10711f6a
......@@ -545,6 +545,11 @@ 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 =
{
.buffer_new = CVPX_to_CVPX_converter_BufferNew,
};
static filter_t *
CVPX_to_CVPX_converter_Create(filter_t *filter, bool to_rgba)
{
......@@ -566,8 +571,7 @@ CVPX_to_CVPX_converter_Create(filter_t *filter, bool to_rgba)
converter->fmt_in.i_codec = VLC_CODEC_CVPX_BGRA;
}
converter->owner.video.buffer_new = CVPX_to_CVPX_converter_BufferNew;
converter->owner.video = &image_filter_cbs;
converter->p_module = module_need(converter, "video converter", NULL, false);
if (!converter->p_module)
......
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