On 1/30/16, Mark Thompson <s...@jkqxz.net> wrote: > > --- > configure | 3 + > libavfilter/Makefile | 1 + > libavfilter/allfilters.c | 1 + > libavfilter/vf_vaapi_scale.c | 709 > +++++++++++++++++++++++++++++++++++++++++++ > 4 files changed, 714 insertions(+) > create mode 100644 libavfilter/vf_vaapi_scale.c >
[...] > + > +static const AVFilterPad vaapi_scale_inputs[] = { > + { > + .name = "default", > + .type = AVMEDIA_TYPE_VIDEO, > + .filter_frame = &vaapi_scale_filter_frame, > + .config_props = &vaapi_scale_config_input, > + }, > + { 0 } Please use NULL like other filter do. > +}; > + > +static const AVFilterPad vaapi_scale_outputs[] = { > + { > + .name = "default", > + .type = AVMEDIA_TYPE_VIDEO, > + .config_props = &vaapi_scale_config_output, > + }, > + { 0 } Please use NULL like other filter do. > +}; > + > +AVFilter ff_vf_vaapi_scale = { > + .name = "vaapi_scale", > + .description = NULL_IF_CONFIG_SMALL("Scale to/from VAAPI surfaces."), > + .priv_size = sizeof(VAAPIScaleContext), > + .init = &vaapi_scale_init, > + .uninit = &vaapi_scale_uninit, > + .query_formats = &vaapi_scale_query_formats, > + .inputs = vaapi_scale_inputs, > + .outputs = vaapi_scale_outputs, > + .priv_class = &vaapi_scale_class, > +}; _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel