[FFmpeg-devel] [PATCH v20 02/20] avutil/frame: Prepare AVFrame for subtitle handling
Soft Works
softworkz at hotmail.com
Sun Dec 5 20:05:12 EET 2021
> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of Hendrik
> Leppkes
> Sent: Sunday, December 5, 2021 5:45 PM
> To: FFmpeg development discussions and patches <ffmpeg-devel at ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [PATCH v20 02/20] avutil/frame: Prepare AVFrame
> for subtitle handling
>
> On Sun, Dec 5, 2021 at 5:40 PM Lynne <dev at lynne.ee> wrote:
> > > + /**
> > > + * Usually the same as packet pts, in AV_TIME_BASE.
> > > + *
> > > + * @deprecated This is kept for compatibility reasons and
> corresponds to
> > > + * AVSubtitle->pts. Might be removed in the future.
> > > + */
> > > + int64_t subtitle_pts;
> > >
> >
> > I'm not going to accept a field which is instantly deprecated.
> > As we've discussed multiple times, please merge this into
> > the regular frame PTS field. We already have _2_ necessary
> > stard/end fields.
> >
>
> I agree with this entirely. Even ignoring the fact that adding a new
> field thats deprecated is instantly a disqualification, AVSubtitle had
> one pts field, AVFrame already has one pts field
The short answer to why it has worked before with a single pts field
is: Because there was no filtering.
Kind regards,
softworkz
More information about the ffmpeg-devel
mailing list