From c862955baccc7c263c8c4878b4a963927d61cbe5 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 18 Nov 2014 12:50:54 +0100 Subject: command: initialize a-b loop options correctly It was initialized as 0/0, which basically cleared the chapter marks by default. --- options/options.c | 1 + 1 file changed, 1 insertion(+) 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, -- cgit v1.2.3