summaryrefslogtreecommitdiffstats
path: root/options/options.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-06-23 15:17:01 +0200
committerwm4 <wm4@nowhere>2017-06-23 16:54:09 +0200
commitd81576c9a6da02e3019fb55f7ec039eb673b62af (patch)
treed55bcd8685e2d65451b8fe8ffc361352194a41db /options/options.c
parent96b906a51d5cb42b5e8f90d83259ca0b3bfb2485 (diff)
downloadmpv-d81576c9a6da02e3019fb55f7ec039eb673b62af.tar.bz2
mpv-d81576c9a6da02e3019fb55f7ec039eb673b62af.tar.xz
player: disable --frames in WIP LGPL mode
Commit d8fd7131 changes this. "tibcu" did not reply. While I'm not sure whether copyrightable code remains, I'd tend towards saying yes (the basic idea is still intact after years of refactoring), so make it GPL-only for now.
Diffstat (limited to 'options/options.c')
-rw-r--r--options/options.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index 44d9652cc6..a6adb9cd88 100644
--- a/options/options.c
+++ b/options/options.c
@@ -313,7 +313,10 @@ const m_option_t mp_opts[] = {
// ------------------------- demuxer options --------------------
+#if HAVE_GPL
+ // Possibly GPL due to d8fd7131bbcde029ab41799fd3162050b43f6848.
OPT_CHOICE_OR_INT("frames", play_frames, 0, 0, INT_MAX, ({"all", -1})),
+#endif
OPT_REL_TIME("start", play_start, 0),
OPT_REL_TIME("end", play_end, 0),