diff options
author | wm4 <wm4@nowhere> | 2014-09-14 10:32:24 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-09-14 10:32:24 +0200 |
commit | 955671f64aca64f66e7967b6a276776af324ad39 (patch) | |
tree | f6a4fdf9a450c6cb19eac07e6d485ed8f83efbe7 /player | |
parent | 08116feec7f8fa14e4e18d3a793ab7a6c6fae881 (diff) | |
download | mpv-955671f64aca64f66e7967b6a276776af324ad39.tar.bz2 mpv-955671f64aca64f66e7967b6a276776af324ad39.tar.xz |
player: shorten skip heuristic for playlist_prev to 1 second
See issue #1084.
Diffstat (limited to 'player')
-rw-r--r-- | player/loadfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/player/loadfile.c b/player/loadfile.c index b8efb92ca5..23d6a4aeb4 100644 --- a/player/loadfile.c +++ b/player/loadfile.c @@ -1330,9 +1330,9 @@ terminate_playback: mpctx->resolve_result = NULL; if (mpctx->playing && mpctx->stop_play == AT_END_OF_FILE) { - // Played/paused for longer than 3 seconds -> ok + // Played/paused for longer than 1 second -> ok mpctx->playing->playback_short = - playback_start < 0 || mp_time_sec() - playback_start < 3.0; + playback_start < 0 || mp_time_sec() - playback_start < 1.0; mpctx->playing->init_failed = mpctx->shown_aframes == 0 && mpctx->shown_vframes == 0; } |