Commits on Source (5)
-
Keep the last requested seek position/time, that will be used for successive jumps. It will be more precise than using the demux GET_TIME/GET_POSITION. Send 'on_seek' callback with a valid point when starting a new seek. This callback will be called with a NULL point once all seek requests are processed. UI have now the choice to update their time/position to the seeked value. This will fix the UI not updated when the seek is long to process. Refs #27383 Refs #28482
1ecb283c -
293d8919
-
Don't use INPUT_CONTROL_JUMP_POSITION and INPUT_CONTROL_JUMP_TIME, that use input times from the demuxer. Instead, add up the time from the player timer, that use ts from the output clocks. This fixes a possible gap with relatives seeks, depending on the input source or output delay (aout). For examples, seeking -3s was seeking -2s and seeking +3s was seeking +4s before this commit. Now seeking back and forth with stay at the same position. Fixes #28482 Fixes #27383
05c9c727 -
The input_thread can now only seek with absolute values.
396c8141 -
Set the time and position to the requested seek point. Pause timers while seeking.
c20e4543
Showing
- include/vlc_demux.h 2 additions, 22 deletionsinclude/vlc_demux.h
- include/vlc_player.h 9 additions, 0 deletionsinclude/vlc_player.h
- modules/demux/mpeg/ps.c 1 addition, 1 deletionmodules/demux/mpeg/ps.c
- modules/gui/qt/player/player_controller.cpp 32 additions, 1 deletionmodules/gui/qt/player/player_controller.cpp
- modules/gui/qt/player/player_controller_p.hpp 1 addition, 0 deletionsmodules/gui/qt/player/player_controller_p.hpp
- modules/stream_out/chromecast/chromecast_demux.cpp 2 additions, 2 deletionsmodules/stream_out/chromecast/chromecast_demux.cpp
- src/input/input.c 6 additions, 27 deletionssrc/input/input.c
- src/input/input_internal.h 0 additions, 2 deletionssrc/input/input_internal.h
- src/player/input.c 30 additions, 17 deletionssrc/player/input.c
- src/player/osd.c 1 addition, 18 deletionssrc/player/osd.c
- src/player/player.c 4 additions, 5 deletionssrc/player/player.c
- src/player/player.h 15 additions, 5 deletionssrc/player/player.h
- src/player/timer.c 117 additions, 7 deletionssrc/player/timer.c