1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-01 04:12:25 +00:00
mpv/player
wm4 fcf0b80dc9 player: make unpausing directly after seek work with --keep-open
When using --keep-open, and the end of the file is reached, the player's
"pause" property is set to true. Attempting to set it to false reverts
it back to true immediately. That's how it's designed, for better or
worse.

Running "seek -10 ; set pause no" did not work, because the seek is
first queued and pause is unset, but then the decoding functions
determine that EOF is still a thing, and "mpctx->stop_play =
AT_END_OF_FILE;" is set again. handle_keep_open() then sets pause again.
Only then the seek is actually run.

Fix this by not setting stop_play if a seek is queued.
2019-12-30 17:40:21 +01:00
..
javascript js: support mp.create_osd_overlay (match 07287262) 2019-12-23 17:52:34 +02:00
lua console: add a basic help command 2019-12-24 16:08:04 +01:00
audio.c command: shuffle some crap around 2019-11-25 00:26:36 +01:00
client.c client API, lua: add new API for setting OSD overlays 2019-12-23 11:44:24 +01:00
client.h client API: rewrite property observation (again) 2019-12-19 11:11:51 +01:00
command.c command: add a playlist-unshuffle command 2019-12-28 21:32:15 +01:00
command.h player: change m_config to use new option handling mechanisms 2019-11-29 12:49:15 +01:00
configfiles.c playlist: change from linked list to an array 2019-12-28 21:32:15 +01:00
core.h player: avoid underrun wakeup loop 2019-12-16 01:15:43 +01:00
external_files.c external_files: add .lrc subtitle extension 2019-09-02 01:25:43 +03:00
external_files.h player: get rid of mpv_global.opts 2018-05-24 19:56:35 +02:00
javascript.c js: support mp.create_osd_overlay (match 07287262) 2019-12-23 17:52:34 +02:00
loadfile.c playlist: change from linked list to an array 2019-12-28 21:32:15 +01:00
lua.c lua: fix mp.file_info for large files 2019-12-28 14:34:32 +01:00
main.c playlist: change from linked list to an array 2019-12-28 21:32:15 +01:00
misc.c playlist: change from linked list to an array 2019-12-28 21:32:15 +01:00
osd.c player: format low cache duration with more decimals 2019-10-11 19:18:43 +02:00
playloop.c player: make unpausing directly after seek work with --keep-open 2019-12-30 17:40:21 +01:00
screenshot.c screenshot, vo_image: use global swscale/zimg parameters 2019-10-31 15:44:09 +01:00
screenshot.h screenshot, vo_image: use global swscale/zimg parameters 2019-10-31 15:44:09 +01:00
scripting.c console.lua: add this script 2019-12-08 02:46:44 +01:00
sub.c player: ensure backward playback state is propagated on track switching 2019-09-19 20:37:05 +02:00
video.c player: avoid underrun wakeup loop 2019-12-16 01:15:43 +01:00