[vlc-devel] [PATCH] avcodec: subtitle: av_codec_set_pkt_timebase was deprecated since 2017
quinkblack at foxmail.com
Fri Feb 5 10:57:58 UTC 2021
> On Feb 5, 2021, at 5:31 PM, Francois Cartegnie <fcvlcdev at free.fr> wrote:
> 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;
> Being deprecated does not mean that member is exposed for direct access with our min required version (configure.ac).
> That needs to be checked.
I have checked this field was added in 2012, with version 54.36.100.
> Francois Cartegnie
> VideoLAN - VLC Developer
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
More information about the vlc-devel