[FFmpeg-devel] [PATCH] options: mark av_get_{int, double, q} as deprecated.

Ronald S. Bultje rsbultje at gmail.com
Sun Aug 16 23:45:55 CEST 2015


Hi,

On Sun, Aug 16, 2015 at 5:24 PM, Andreas Cadhalpun <
andreas.cadhalpun at googlemail.com> wrote:

> On 16.08.2015 22:15, Ronald S. Bultje wrote:
> > Convert last users to av_opt_get_*() counterparts.
> > ---
> >  libavfilter/af_aresample.c | 17 +++++++++--------
> >  libavutil/opt.h            |  3 +++
> >  2 files changed, 12 insertions(+), 8 deletions(-)
>
> I'm fine with this, but the patch is incomplete:
> libavfilter/x86/vf_spp.c also uses av_get_int.
> Furthermore the FF_OPT_TYPE_* defines are used in several places.


Yes I noticed the last one in vf_spp.c, I missed it (don't know how), have
it locally amended. I'm working on FF_OPT_TYPE_* separately (I'm doing one
deprecation macro at a time).

Some really are a mess, Michael can you comment on how on earth you could
consider adding av_stream_get_end_pts as a replacement for AVFrac without
deeply frowning at yourself? Can you take some time and fix that correctly?
I also don't know what to do about codec-specific qscales in the pp
avfilters.

Ronald


More information about the ffmpeg-devel mailing list