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