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