[vlc-devel] [PATCH v2 2/7] es_out: add ES_OUT_SET_NPT

Rémi Denis-Courmont remi at remlab.net
Wed Apr 7 14:51:13 UTC 2021


Le keskiviikkona 7. huhtikuuta 2021, 16.59.33 EEST Thomas Guillem a écrit :
> On Sat, Apr 3, 2021, at 10:24, Rémi Denis-Courmont wrote:
> > Le torstaina 1. huhtikuuta 2021, 18.30.07 EEST Thomas Guillem a écrit :
> > > This will replace DEMUX_GET_NORMAL_TIME.
> > > 
> > > Demux modules should set a valid normal play time if the PCR and the
> > > time reported by DEMUX_GET_TIME don't have the same origin. This is the
> > > case for mpeg/ts, dvd, bluray, cdda, adaptive.
> > 
> > NPT is the time that is intrinsically the time visible to the user. And
> > that's also what DEMUX_GET_TIME is supposed to be. We can't have both. It
> > makes no sense now, and it won't make sense with this.
> > 
> > (I agree that an event makes more sense than a control though.)
> 
> NPT can't replace DEMUX_GET_TIME.

I have to disagree. By definition, they're literally the exact same thing.

-1

-- 
雷米‧德尼-库尔蒙
http://www.remlab.net/





More information about the vlc-devel mailing list