mirror of https://git.ffmpeg.org/ffmpeg.git
lavfi: deprecate AVFilterGraph->resample_lavr_opts
Not used by anything at all since we don't auto insert lavr filters. Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
This commit is contained in:
parent
c52638cca2
commit
3796fb2692
|
@ -15,6 +15,10 @@ libavutil: 2015-08-28
|
||||||
|
|
||||||
API changes, most recent first:
|
API changes, most recent first:
|
||||||
|
|
||||||
|
2017-03-18 - xxxxxxx - lavfi 6.77.100 - avfilter.h
|
||||||
|
Deprecate AVFilterGraph.resample_lavr_opts
|
||||||
|
It's never been used by avfilter nor passed to anything.
|
||||||
|
|
||||||
2017-02-10 - xxxxxxx - lavu 55.48.100 / 55.33.0 - spherical.h
|
2017-02-10 - xxxxxxx - lavu 55.48.100 / 55.33.0 - spherical.h
|
||||||
Add AV_SPHERICAL_EQUIRECTANGULAR_TILE, av_spherical_tile_bounds(),
|
Add AV_SPHERICAL_EQUIRECTANGULAR_TILE, av_spherical_tile_bounds(),
|
||||||
and projection-specific properties (bound_left, bound_top, bound_right,
|
and projection-specific properties (bound_left, bound_top, bound_right,
|
||||||
|
|
|
@ -841,7 +841,9 @@ typedef struct AVFilterGraph {
|
||||||
unsigned nb_filters;
|
unsigned nb_filters;
|
||||||
|
|
||||||
char *scale_sws_opts; ///< sws options to use for the auto-inserted scale filters
|
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_LAVR_OPTS
|
||||||
|
attribute_deprecated char *resample_lavr_opts; ///< libavresample options to use for the auto-inserted resample filters
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Type of multithreading allowed for filters in this graph. A combination
|
* Type of multithreading allowed for filters in this graph. A combination
|
||||||
|
|
|
@ -128,7 +128,9 @@ void avfilter_graph_free(AVFilterGraph **graph)
|
||||||
|
|
||||||
av_freep(&(*graph)->scale_sws_opts);
|
av_freep(&(*graph)->scale_sws_opts);
|
||||||
av_freep(&(*graph)->aresample_swr_opts);
|
av_freep(&(*graph)->aresample_swr_opts);
|
||||||
|
#if FF_API_LAVR_OPTS
|
||||||
av_freep(&(*graph)->resample_lavr_opts);
|
av_freep(&(*graph)->resample_lavr_opts);
|
||||||
|
#endif
|
||||||
av_freep(&(*graph)->filters);
|
av_freep(&(*graph)->filters);
|
||||||
av_freep(&(*graph)->internal);
|
av_freep(&(*graph)->internal);
|
||||||
av_freep(graph);
|
av_freep(graph);
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#include "libavutil/version.h"
|
#include "libavutil/version.h"
|
||||||
|
|
||||||
#define LIBAVFILTER_VERSION_MAJOR 6
|
#define LIBAVFILTER_VERSION_MAJOR 6
|
||||||
#define LIBAVFILTER_VERSION_MINOR 76
|
#define LIBAVFILTER_VERSION_MINOR 77
|
||||||
#define LIBAVFILTER_VERSION_MICRO 100
|
#define LIBAVFILTER_VERSION_MICRO 100
|
||||||
|
|
||||||
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
|
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
|
||||||
|
@ -67,5 +67,8 @@
|
||||||
#ifndef FF_API_NOCONST_GET_NAME
|
#ifndef FF_API_NOCONST_GET_NAME
|
||||||
#define FF_API_NOCONST_GET_NAME (LIBAVFILTER_VERSION_MAJOR < 7)
|
#define FF_API_NOCONST_GET_NAME (LIBAVFILTER_VERSION_MAJOR < 7)
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef FF_API_LAVR_OPTS
|
||||||
|
#define FF_API_LAVR_OPTS (LIBAVFILTER_VERSION_MAJOR < 7)
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* AVFILTER_VERSION_H */
|
#endif /* AVFILTER_VERSION_H */
|
||||||
|
|
Loading…
Reference in New Issue