input: thumbnailer: remove seek to same position
- Nov 15, 2023
-
-
Alexandre Janniaux authored
vlc_thumbnailer_RequestByTime() is used with a time parameter indicating the offset from the beginning of the media. Then, the function will trigger a seek which is expressed in absolute media time, ie. VLC_TICK_0 + the offset from the beginning of the media. Callers don't expect to add VLC_TICK_0 themselves, and were not doing it, but it's needed to ensure that no seek parameter was given.
6435cc15 -
Alexandre Janniaux authored
When tracing the thumbnailing test, we can see that the media was first opened and demuxed, before DEMUX_SET_POSITION/SET_TIME is sent to the demux which will reset back to the same initial position. Check that actual seek values are provided to avoid the seek when not needed.
d4120eb3
-