From a2133d76847dd4c7a19d6826cd9a6562bedfdbc4 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Sat, 24 Apr 2010 20:09:31 +0300 Subject: options: move -chapter values to option struct -chapter can optionally take a range with a start and an end. Add a new option type which supports such values and use that instead of a custom per-option function. This commit also fixes a build configuration bug: before the availability of the -chapter option depended on DVD functionality being enabled in the binary, even though the option works with other sources too. --- options.h | 1 + 1 file changed, 1 insertion(+) (limited to 'options.h') diff --git a/options.h b/options.h index 866bfeecf3..22bbff3915 100644 --- a/options.h +++ b/options.h @@ -29,6 +29,7 @@ typedef struct MPOpts { int osd_duration; int loop_times; int ordered_chapters; + int chapterrange[2]; int edition_id; int correct_pts; int user_correct_pts; -- cgit v1.2.3