[vlc-devel] [PATCH] avcodec: subtitle: av_codec_set_pkt_timebase was deprecated since 2017
Francois Cartegnie
fcvlcdev at free.fr
Fri Feb 5 09:31:48 UTC 2021
Le 04/02/2021 à 17:03, Zhao Zhili a écrit :
>
> -#if LIBAVFORMAT_VERSION_MICRO >= 100
> - av_codec_set_pkt_timebase(context, AV_TIME_BASE_Q);
> +#if LIBAVCODEC_VERSION_MICRO >= 100
> + context->pkt_timebase = AV_TIME_BASE_Q;
> #endif
Being deprecated does not mean that member is exposed for direct access
with our min required version (configure.ac).
That needs to be checked.
--
Francois Cartegnie
VideoLAN - VLC Developer
More information about the vlc-devel
mailing list