[vlc-devel] [PATCH 00/17] Fixing normal_time handling
Francois Cartegnie
fcvlcdev at free.fr
Wed Mar 10 12:29:30 UTC 2021
Le 10/03/2021 à 12:51, Rémi Denis-Courmont a écrit :
> Hi,
>
> I can see the argument for converting GET_TIME and GET_POSITION to events, and then GET_TITLE, and GET_CHAPTER. But duration (GET_LENGTH) and NPT offset are mostly constant. NPT does not look like the most pressing issue in terms of conversion from polling to event.
>
Length is not constant and is also used to compute seek offset (Ex: DVD
titles) and sometimes it can only be known late (ex: EIT program).
I have suggested to drop the Length to return only Start (which is
supposely what normal_time is doing) & End time (which can be extended
to another seekable tuple in case of timeshift on source).
--
Francois Cartegnie
VideoLAN - VLC Developer
More information about the vlc-devel
mailing list