summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/mplayer.c b/core/mplayer.c
index 5ef73de0f7..0a6b4f5130 100644
--- a/core/mplayer.c
+++ b/core/mplayer.c
@@ -284,7 +284,7 @@ static double get_play_end_pts(struct MPContext *mpctx)
if (opts->play_end.type) {
return rel_time_to_abs(mpctx, opts->play_end, MP_NOPTS_VALUE);
} else if (opts->play_length.type) {
- double start = rel_time_to_abs(mpctx, opts->play_start, -1);
+ double start = rel_time_to_abs(mpctx, opts->play_start, 0);
double length = rel_time_to_abs(mpctx, opts->play_length, -1);
if (start != -1 && length != -1)
return start + length;