diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-02-25 12:12:36 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-03-16 05:33:23 +0100 |
commit | 42c7c61ab25809620b8c8809b3da73e25f5bbaaf (patch) | |
tree | 9cc267ffd8a0aad4e6fb50c04a6fa81bb6451bf2 /libavfilter/avfiltergraph.h | |
parent | 556aab8f11b045a21182eee32413aa78d5c8539b (diff) | |
download | ffmpeg-42c7c61ab25809620b8c8809b3da73e25f5bbaaf.tar.gz |
avfiltergraph: replace AVFilterGraph.filter_count with nb_filters
This is more consistent with the naming in the rest of Libav.
Diffstat (limited to 'libavfilter/avfiltergraph.h')
-rw-r--r-- | libavfilter/avfiltergraph.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libavfilter/avfiltergraph.h b/libavfilter/avfiltergraph.h index 62308982d0..9859389390 100644 --- a/libavfilter/avfiltergraph.h +++ b/libavfilter/avfiltergraph.h @@ -27,11 +27,20 @@ typedef struct AVFilterGraph { const AVClass *av_class; +#if FF_API_FOO_COUNT + attribute_deprecated unsigned filter_count; +#endif AVFilterContext **filters; +#if !FF_API_FOO_COUNT + unsigned nb_filters; +#endif char *scale_sws_opts; ///< sws options to use for the auto-inserted scale filters char *resample_lavr_opts; ///< libavresample options to use for the auto-inserted resample filters +#if FF_API_FOO_COUNT + unsigned nb_filters; +#endif } AVFilterGraph; /** |