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

Rémi Denis-Courmont remi at remlab.net
Sat Apr 3 08:24:18 UTC 2021


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.)

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





More information about the vlc-devel mailing list