Unified · Split
| @@ -5322,8 +5322,7 @@ To enable compilation of this filter you need to configure FFmpeg with · 5321 unmodified lines | ||
| 5322 | 5322 | libavformat to convert the passed subtitles file to ASS (Advanced Substation |
| 5323 | 5323 | Alpha) subtitles format. |
| 5324 | 5324 | |
| 5325 | −This filter accepts the following named options, expressed as a | |
| 5326 | −sequence of @var{key}=@var{value} pairs, separated by ":". | |
| 5325 | +The filter accepts the following options: | |
| 5327 | 5326 | |
| 5328 | 5327 | @table @option |
| 5329 | 5328 | @item filename, f |
| @@ -657,6 +657,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque · 656 unmodified lines | ||
| 657 | 657 | int ret=0; |
| 658 | 658 | int anton_options = |
| 659 | 659 | !strcmp(filter->filter->name, "aformat") || |
| 660 | + !strcmp(filter->filter->name, "ass") || | |
| 660 | 661 | !strcmp(filter->filter->name, "blackframe") || |
| 661 | 662 | !strcmp(filter->filter->name, "boxblur" ) || |
| 662 | 663 | !strcmp(filter->filter->name, "colormatrix") || |
| @@ -691,6 +692,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque · 28 unmodified lines | ||
| 691 | 692 | !strcmp(filter->filter->name, "resample") || |
| 692 | 693 | !strcmp(filter->filter->name, "showspectrum") || |
| 693 | 694 | !strcmp(filter->filter->name, "silencedetect") || |
| 695 | + !strcmp(filter->filter->name, "subtitles") || | |
| 694 | 696 | !strcmp(filter->filter->name, "thumbnail") || |
| 695 | 697 | // !strcmp(filter->filter->name, "scale" ) || |
| 696 | 698 | 0 |
| @@ -201,8 +201,6 @@ static const AVFilterPad ass_outputs[] = { · 200 unmodified lines | ||
| 201 | 201 | { NULL } |
| 202 | 202 | }; |
| 203 | 203 | |
| 204 | −static const char *const shorthand[] = { "filename", NULL }; | |
| 205 | − | |
| 206 | 204 | #if CONFIG_ASS_FILTER |
| 207 | 205 | |
| 208 | 206 | static const AVOption ass_options[] = { |
| @@ -240,7 +238,6 @@ AVFilter avfilter_vf_ass = { · 31 unmodified lines | ||
| 240 | 238 | .inputs = ass_inputs, |
| 241 | 239 | .outputs = ass_outputs, |
| 242 | 240 | .priv_class = &ass_class, |
| 243 | − .shorthand = shorthand, | |
| 244 | 241 | }; |
| 245 | 242 | #endif |
| 246 | 243 | |
| @@ -365,6 +362,5 @@ AVFilter avfilter_vf_subtitles = { · 118 unmodified lines | ||
| 365 | 362 | .inputs = ass_inputs, |
| 366 | 363 | .outputs = ass_outputs, |
| 367 | 364 | .priv_class = &subtitles_class, |
| 368 | − .shorthand = shorthand, | |
| 369 | 365 | }; |
| 370 | 366 | #endif |