summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-11-18 12:50:54 +0100
committerwm4 <wm4@nowhere>2014-11-18 12:51:43 +0100
commitc862955baccc7c263c8c4878b4a963927d61cbe5 (patch)
tree6c82d32195e00e7a6d1f58c57626bd2eb0259ab3
parentd96bd0eaa8fcee6e587ae6ffdf73bfa5e995c4b5 (diff)
downloadmpv-c862955baccc7c263c8c4878b4a963927d61cbe5.tar.bz2
mpv-c862955baccc7c263c8c4878b4a963927d61cbe5.tar.xz
command: initialize a-b loop options correctly
It was initialized as 0/0, which basically cleared the chapter marks by default.
-rw-r--r--options/options.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index 4a4d83210b..93b660b0fd 100644
--- a/options/options.c
+++ b/options/options.c
@@ -633,6 +633,7 @@ const struct MPOpts mp_default_opts = {
.demuxer_min_secs_cache = 2,
.cache_pausing = 1,
.chapterrange = {-1, -1},
+ .ab_loop = {MP_NOPTS_VALUE, MP_NOPTS_VALUE},
.edition_id = -1,
.default_max_pts_correction = -1,
.correct_pts = 1,