[vlc-devel] [PATCH] avcodec: subtitle: av_codec_set_pkt_timebase was deprecated since 2017
robux4 at ycbcr.xyz
Fri Feb 5 11:06:33 UTC 2021
On 2021-02-05 11:57, "zhilizhao(赵志立)" wrote:
>> 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.
And we require 57.37.100 in VLC4 so that should be OK.
>> Francois Cartegnie
>> VideoLAN - VLC Developer
>> vlc-devel mailing list
>> To unsubscribe or modify your subscription options:
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
More information about the vlc-devel