From 8be9c49fcd8b23463199036eda5fc290ded6d078 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 25 Aug 2013 20:40:21 +0200 Subject: core: add a playlist demuxer Modeled after the old playlist_parser.c, but actually new code, and it works a bit differently. Demuxers (and sometimes streams) are the component that should be used to open files and to determine the file format. This was already done for subtitles, but playlists still use a separate code path. --- mpvcore/options.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mpvcore/options.c') diff --git a/mpvcore/options.c b/mpvcore/options.c index 733b104a46..e508262378 100644 --- a/mpvcore/options.c +++ b/mpvcore/options.c @@ -669,6 +669,8 @@ const m_option_t mp_opts[] = { OPT_DOUBLE("chapter-seek-threshold", chapter_seek_threshold, 0), + OPT_FLAG("load-unsafe-playlists", load_unsafe_playlists, 0), + // a-v sync stuff: OPT_FLAG("correct-pts", correct_pts, 0), OPT_CHOICE("pts-association-mode", user_pts_assoc_mode, 0, -- cgit v1.2.3