Unified · Split
| @@ -47,7 +47,7 @@ static const AVOption weave_options[] = { · 46 unmodified lines | ||
| 47 | 47 | { NULL } |
| 48 | 48 | }; |
| 49 | 49 | |
| 50 | −AVFILTER_DEFINE_CLASS(weave); | |
| 50 | +AVFILTER_DEFINE_CLASS_EXT(weave, "(double)weave", weave_options); | |
| 51 | 51 | |
| 52 | 52 | static int query_formats(AVFilterContext *ctx) |
| 53 | 53 | { |
| @@ -210,14 +210,11 @@ static av_cold int init(AVFilterContext *ctx) · 156 unmodified lines | ||
| 210 | 210 | return 0; |
| 211 | 211 | } |
| 212 | 212 | |
| 213 | −#define doubleweave_options weave_options | |
| 214 | −AVFILTER_DEFINE_CLASS(doubleweave); | |
| 215 | − | |
| 216 | 213 | const AVFilter ff_vf_doubleweave = { |
| 217 | 214 | .name = "doubleweave", |
| 218 | 215 | .description = NULL_IF_CONFIG_SMALL("Weave input video fields into double number of frames."), |
| 216 | + .priv_class = &weave_class, | |
| 219 | 217 | .priv_size = sizeof(WeaveContext), |
| 220 | − .priv_class = &doubleweave_class, | |
| 221 | 218 | .query_formats = query_formats, |
| 222 | 219 | .init = init, |
| 223 | 220 | .uninit = uninit, |