[vlc-devel] [RFC PATCH 09/13] FIXUP: implement audio/video/spu delay
Rémi Denis-Courmont
remi at remlab.net
Sat Jul 7 21:22:07 CEST 2018
Le lauantaina 7. heinäkuuta 2018, 19.22.11 EEST Denis Charmet a écrit :
> Now the issue is that, as Thomas said is that most of the hw decoders
> with which I've workded, do care about PTS to compute their own
> discontinuities/hurryup and other internal magics.
I don't see how a constant shift on the timestamp of an ES would affect the
decoder. Timestamps are only meanignful relative to one another, not as
absolute values.
In fact, it's already broken if it does not, as TS and RTP ES's don't start at
0.
> Do we apply said delays to dts?
I would certainly think so.
Now the problem is when the user changes the delay. Obviously the postponed ES
will have to "pause" while the other catches up, or the advanced ES will have
to "skip" forward to catch up. AFAIK, it already necessarily works that way.
--
雷米‧德尼-库尔蒙
http://www.remlab.net/
More information about the vlc-devel
mailing list