From 5c49fe97cba11bf6cd58b6e18577dbf8095a5222 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 4 Mar 2015 17:21:02 +0100 Subject: input: use flag option type for some input commands This gets rid of the need for a second (or more) parameters; instead it can be all in one parameter. The (now) redundant parameter is still parsed for compatibility, though. The way the flags make each other conflict is a bit tricky: they have overlapping bits, and the option parser disallows setting already set bits. --- etc/input.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'etc') diff --git a/etc/input.conf b/etc/input.conf index 07e2ddeb92..48adfa9035 100644 --- a/etc/input.conf +++ b/etc/input.conf @@ -51,10 +51,10 @@ #DOWN seek -60 # Do smaller, always exact (non-keyframe-limited), seeks with shift. # Don't show them on the OSD (no-osd). -#Shift+RIGHT no-osd seek 1 - exact -#Shift+LEFT no-osd seek -1 - exact -#Shift+UP no-osd seek 5 - exact -#Shift+DOWN no-osd seek -5 - exact +#Shift+RIGHT no-osd seek 1 exact +#Shift+LEFT no-osd seek -1 exact +#Shift+UP no-osd seek 5 exact +#Shift+DOWN no-osd seek -5 exact # Skip to previous/next subtitle (subject to some restrictions; see manpage) #Ctrl+LEFT no-osd sub_seek -1 #Ctrl+RIGHT no-osd sub_seek 1 @@ -116,7 +116,7 @@ #f cycle fullscreen # toggle fullscreen #s screenshot # take a screenshot #S screenshot video # ...without subtitles -#Alt+s screenshot - each-frame # automatically screenshot every frame +#Alt+s screenshot each-frame # automatically screenshot every frame #w add panscan -0.1 # zoom out with -panscan 0 -fs #e add panscan +0.1 # in # cycle video aspect ratios; "-1" is the container aspect -- cgit v1.2.3