From 4e2fab5846d2fe7f51a799abb4118515efac854b Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 15 Sep 2012 01:10:59 +0200 Subject: commands: rename properties, update input.conf Use "-" instead of "_" in property names. The intent is that property names and options names should be the same (if they refer to the same thing), and options use "-" as word separator. Rename some other properties too, e.g. "switch_audio" -> "audio". Add a way to translate the old property names to the new ones, similar to the input command legacy bridge. Update input.conf. Use the new property names, and don't use legacy commands. --- etc/input.conf | 129 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 64 insertions(+), 65 deletions(-) (limited to 'etc') diff --git a/etc/input.conf b/etc/input.conf index 2dd9fee758..8c23bcde96 100644 --- a/etc/input.conf +++ b/etc/input.conf @@ -26,12 +26,12 @@ # key combinations is only supported through the video windows of certain # output drivers (not in output windows of other drivers or in a terminal). -MOUSE_BTN0_DBL vo_fullscreen # toggle fullscreen on/off -MOUSE_BTN2 pause # toggle pause on/off +MOUSE_BTN0_DBL switch fullscreen # toggle fullscreen on/off +MOUSE_BTN2 switch pause # toggle pause on/off MOUSE_BTN3 seek 10 MOUSE_BTN4 seek -10 -MOUSE_BTN5 volume 1 -MOUSE_BTN6 volume -1 +MOUSE_BTN5 switch volume 1 +MOUSE_BTN6 switch volume -1 # Seek units are in seconds, but note that these are limited by keyframes RIGHT seek 10 @@ -45,8 +45,8 @@ Shift+UP seek 5 0 1 Shift+DOWN seek -5 0 1 PGUP seek 600 PGDWN seek -600 -+ audio_delay 0.100 # this changes audio/video sync -- audio_delay -0.100 ++ switch audio-delay 0.100 # this changes audio/video sync +- switch audio-delay -0.100 [ speed_mult 0.9091 # scale playback speed ] speed_mult 1.1 { speed_mult 0.5 @@ -55,79 +55,78 @@ BS speed_set 1.0 # reset speed to normal q quit q {encode} quit ESC quit -p pause # toggle pause/playback mode +p switch pause # toggle pause/playback mode . frame_step # advance one frame and pause -SPACE pause +SPACE switch pause > playlist_next # skip to next file ENTER playlist_next 1 # skip to next file or quit < playlist_prev # skip to previous file o osd # cycle through OSD mode I osd_show_property_text "${filename}" # display filename in osd P osd_show_progression -z sub_delay -0.1 # subtract 100 ms delay from subs -x sub_delay +0.1 # add +z switch sub-delay -0.1 # subtract 100 ms delay from subs +x switch sub-delay +0.1 # add g sub_step -1 # immediately display next subtitle y sub_step +1 # previous -9 volume -1 -/ volume -1 -0 volume 1 -* volume 1 -( balance -0.1 # adjust audio balance in favor of left -) balance 0.1 # right -m mute -1 contrast -1 -2 contrast 1 -3 brightness -1 -4 brightness 1 -5 hue -1 -6 hue 1 -7 saturation -1 -8 saturation 1 -d frame_drop # cycle through framedrop modes +9 switch volume -1 +/ switch volume -1 +0 switch volume 1 +* switch volume 1 +( switch balance -0.1 # adjust audio balance in favor of left +) switch balance 0.1 # right +m switch mute +1 switch contrast -1 +2 switch contrast 1 +3 switch brightness -1 +4 switch brightness 1 +5 switch hue -1 +6 switch hue 1 +7 switch saturation -1 +8 switch saturation 1 +d switch frame_drop # cycle through framedrop modes # toggle deinterlacer; requires either vdpau output, -vf yadif or kerndeint -D step_property_osd deinterlace -c step_property_osd colormatrix +D switch deinterlace +c switch colormatrix # Next 3 currently only work with --no-ass -r sub_pos -1 # move subtitles up -t sub_pos +1 # down -v sub_visibility +r switch sub-pos -1 # move subtitles up +t switch sub-pos +1 # down +v switch sub-visibility # stretch SSA/ASS subtitles with anamorphic videos to match historical -V step_property_osd ass_vsfilter_aspect_compat -j sub_select # cycle through subtitles -J sub_select -3 # ...backwards -F forced_subs_only -SHARP switch_audio # switch audio streams -_ step_property switch_video -TAB step_property switch_program +V switch ass-vsfilter-aspect-compat +j switch sub # cycle through subtitles +J switch sub -1 # ...backwards +F switch sub-forced-only +SHARP switch audio # switch audio streams +_ switch video +TAB switch program i edl_mark # for use with --edlout mode -T vo_ontop # toggle video window ontop of other windows -f vo_fullscreen # toggle fullscreen -C step_property_osd capturing +T switch ontop # toggle video window ontop of other windows +f switch fullscreen # toggle fullscreen s screenshot 0 # take a png screenshot S screenshot 1 # ...on every frame Alt+s screenshot 0 1 # take a screenshot of window contents Alt+S screenshot 1 1 # ...on every frame -w panscan -0.1 # zoom out with -panscan 0 -fs -e panscan +0.1 # in +w switch panscan -0.1 # zoom out with -panscan 0 -fs +e switch panscan +0.1 # in POWER quit -MENU osd -PLAY pause -PAUSE pause -PLAYPAUSE pause +MENU switch osd +PLAY switch pause +PAUSE switch pause +PLAYPAUSE switch pause STOP quit FORWARD seek 60 REWIND seek -60 NEXT playlist_next PREV playlist_prev -VOLUME_UP volume 1 -VOLUME_DOWN volume -1 -MUTE mute +VOLUME_UP switch volume 1 +VOLUME_DOWN switch volume -1 +MUTE switch mute CLOSE_WIN quit CLOSE_WIN {encode} quit -! seek_chapter -1 # skip to previous chapter -@ seek_chapter 1 # next -E step_property_osd edition # next edition -A switch_angle 1 +! switch chapter -1 # skip to previous chapter +@ switch chapter 1 # next +E switch edition # next edition +A switch angle 1 U stop # TV @@ -140,16 +139,16 @@ u tv_step_chanlist # Apple Remote section # -AR_PLAY pause +AR_PLAY switch pause AR_PLAY_HOLD quit AR_NEXT seek 30 AR_NEXT_HOLD seek 120 AR_PREV seek -10 AR_PREV_HOLD seek -120 -AR_MENU osd -AR_MENU_HOLD mute -AR_VUP volume 1 -AR_VDOWN volume -1 +AR_MENU switch osd +AR_MENU_HOLD switch mute +AR_VUP switch volume 1 +AR_VDOWN switch volume -1 # # Joystick section @@ -161,15 +160,15 @@ JOY_AXIS0_PLUS seek 10 JOY_AXIS0_MINUS seek -10 JOY_AXIS1_MINUS seek 60 JOY_AXIS1_PLUS seek -60 -JOY_BTN0 pause -JOY_BTN1 osd -JOY_BTN2 volume 1 -JOY_BTN3 volume -1 +JOY_BTN0 switch pause +JOY_BTN1 switch osd +JOY_BTN2 switch volume 1 +JOY_BTN3 switch volume -1 # # Not assigned by default # (not an exhaustive list of unbound commands) # -#? sub_scale +0.1 # increase subtitle font size -#? sub_scale -0.1 # decrease subtitle font size +#? switch sub-scale +0.1 # increase subtitle font size +#? switch sub-scale -0.1 # decrease subtitle font size -- cgit v1.2.3 From 950999dd7bcf863535634e2ac227d19979beadd4 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 15 Sep 2012 01:48:27 +0200 Subject: commands: remove speed_set/speed_incr commands Redundant with set/switch commands. --- etc/input.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/input.conf b/etc/input.conf index 8c23bcde96..e7acb77905 100644 --- a/etc/input.conf +++ b/etc/input.conf @@ -51,7 +51,7 @@ PGDWN seek -600 ] speed_mult 1.1 { speed_mult 0.5 } speed_mult 2.0 -BS speed_set 1.0 # reset speed to normal +BS set speed 1.0 # reset speed to normal q quit q {encode} quit ESC quit -- cgit v1.2.3 From a749c614375107a09e5877f6bb654133c7947672 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 15 Sep 2012 02:04:57 +0200 Subject: commands: rename osd_show_[property_]text and osd_show_progression osd_show_[property_]text => show_text osd_show_progression => show_progress show_text, osd_show_property_text and osd_show_text both map to the code for the previous osd_show_property_text. The only special thing about osd_show_text is that you don't need to escape "$". Also, unfortunately osd_show_property_text requires escaping things twice, one time for the command parser, and the other time for the property formatting code, while osd_show_text needed only one level of escaping. --- etc/input.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/input.conf b/etc/input.conf index e7acb77905..269a8a3a8e 100644 --- a/etc/input.conf +++ b/etc/input.conf @@ -62,8 +62,8 @@ SPACE switch pause ENTER playlist_next 1 # skip to next file or quit < playlist_prev # skip to previous file o osd # cycle through OSD mode -I osd_show_property_text "${filename}" # display filename in osd -P osd_show_progression +I show_text "${filename}" # display filename in osd +P show_progress z switch sub-delay -0.1 # subtract 100 ms delay from subs x switch sub-delay +0.1 # add g sub_step -1 # immediately display next subtitle -- cgit v1.2.3 From 6f1486b397d632feaa71f88b980491aea7b69256 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 17 Sep 2012 08:38:19 +0200 Subject: commands: replace --hardframedrop, change framedropping property Replace --hardframedrop with --framedrop=hard. Rename the framedrop property from "framedropping" to "framedrop" for the sake of making command line options have the same name as their corresponding property. Change the property to accept choice values instead of numeric values. Remove unused/forgotten auto_quality variable. --- etc/input.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/input.conf b/etc/input.conf index 269a8a3a8e..2fd24080a6 100644 --- a/etc/input.conf +++ b/etc/input.conf @@ -83,7 +83,7 @@ m switch mute 6 switch hue 1 7 switch saturation -1 8 switch saturation 1 -d switch frame_drop # cycle through framedrop modes +d switch framedrop # cycle through framedrop modes # toggle deinterlacer; requires either vdpau output, -vf yadif or kerndeint D switch deinterlace c switch colormatrix -- cgit v1.2.3 From 45b432f4c32be5cab798a0658d9461b3a40a6d94 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 22 Sep 2012 06:15:36 +0200 Subject: commands: replace "switch" with "add" and "cycle" Now it depends on the command whether a property wraps around, or stops at min/max valid property value. For practically all properties, it's quite unambiguous what the "switch" command should have done, and there's technically no need to replace it with these new commands. More over, most properties that cycle are boolean anyway. But it seems more orthogonal to make the difference explicit, rather than hardcoding it. Having different commands also makes it more explicit to the user what these commands do, both just due to the naming, and what wrapping policy is used. The code is simpler too. --- etc/input.conf | 128 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 64 insertions(+), 64 deletions(-) (limited to 'etc') diff --git a/etc/input.conf b/etc/input.conf index 2fd24080a6..a32495ab3a 100644 --- a/etc/input.conf +++ b/etc/input.conf @@ -26,12 +26,12 @@ # key combinations is only supported through the video windows of certain # output drivers (not in output windows of other drivers or in a terminal). -MOUSE_BTN0_DBL switch fullscreen # toggle fullscreen on/off -MOUSE_BTN2 switch pause # toggle pause on/off +MOUSE_BTN0_DBL cycle fullscreen # toggle fullscreen on/off +MOUSE_BTN2 cycle pause # toggle pause on/off MOUSE_BTN3 seek 10 MOUSE_BTN4 seek -10 -MOUSE_BTN5 switch volume 1 -MOUSE_BTN6 switch volume -1 +MOUSE_BTN5 add volume 1 +MOUSE_BTN6 add volume -1 # Seek units are in seconds, but note that these are limited by keyframes RIGHT seek 10 @@ -45,8 +45,8 @@ Shift+UP seek 5 0 1 Shift+DOWN seek -5 0 1 PGUP seek 600 PGDWN seek -600 -+ switch audio-delay 0.100 # this changes audio/video sync -- switch audio-delay -0.100 ++ add audio-delay 0.100 # this changes audio/video sync +- add audio-delay -0.100 [ speed_mult 0.9091 # scale playback speed ] speed_mult 1.1 { speed_mult 0.5 @@ -55,78 +55,78 @@ BS set speed 1.0 # reset speed to normal q quit q {encode} quit ESC quit -p switch pause # toggle pause/playback mode +p cycle pause # toggle pause/playback mode . frame_step # advance one frame and pause -SPACE switch pause +SPACE cycle pause > playlist_next # skip to next file ENTER playlist_next 1 # skip to next file or quit < playlist_prev # skip to previous file o osd # cycle through OSD mode I show_text "${filename}" # display filename in osd P show_progress -z switch sub-delay -0.1 # subtract 100 ms delay from subs -x switch sub-delay +0.1 # add +z add sub-delay -0.1 # subtract 100 ms delay from subs +x add sub-delay +0.1 # add g sub_step -1 # immediately display next subtitle y sub_step +1 # previous -9 switch volume -1 -/ switch volume -1 -0 switch volume 1 -* switch volume 1 -( switch balance -0.1 # adjust audio balance in favor of left -) switch balance 0.1 # right -m switch mute -1 switch contrast -1 -2 switch contrast 1 -3 switch brightness -1 -4 switch brightness 1 -5 switch hue -1 -6 switch hue 1 -7 switch saturation -1 -8 switch saturation 1 -d switch framedrop # cycle through framedrop modes +9 add volume -1 +/ add volume -1 +0 add volume 1 +* add volume 1 +( add balance -0.1 # adjust audio balance in favor of left +) add balance 0.1 # right +m cycle mute +1 add contrast -1 +2 add contrast 1 +3 add brightness -1 +4 add brightness 1 +5 add hue -1 +6 add hue 1 +7 add saturation -1 +8 add saturation 1 +d cycle framedrop # cycle through framedrop modes # toggle deinterlacer; requires either vdpau output, -vf yadif or kerndeint -D switch deinterlace -c switch colormatrix +D cycle deinterlace +c cycle colormatrix # Next 3 currently only work with --no-ass -r switch sub-pos -1 # move subtitles up -t switch sub-pos +1 # down -v switch sub-visibility +r add sub-pos -1 # move subtitles up +t add sub-pos +1 # down +v cycle sub-visibility # stretch SSA/ASS subtitles with anamorphic videos to match historical -V switch ass-vsfilter-aspect-compat -j switch sub # cycle through subtitles -J switch sub -1 # ...backwards -F switch sub-forced-only -SHARP switch audio # switch audio streams -_ switch video -TAB switch program +V cycle ass-vsfilter-aspect-compat +j cycle sub # cycle through subtitles +J cycle sub -1 # ...backwards +F cycle sub-forced-only +SHARP cycle audio # switch audio streams +_ cycle video +TAB cycle program i edl_mark # for use with --edlout mode -T switch ontop # toggle video window ontop of other windows -f switch fullscreen # toggle fullscreen +T cycle ontop # toggle video window ontop of other windows +f cycle fullscreen # toggle fullscreen s screenshot 0 # take a png screenshot S screenshot 1 # ...on every frame Alt+s screenshot 0 1 # take a screenshot of window contents Alt+S screenshot 1 1 # ...on every frame -w switch panscan -0.1 # zoom out with -panscan 0 -fs -e switch panscan +0.1 # in +w add panscan -0.1 # zoom out with -panscan 0 -fs +e add panscan +0.1 # in POWER quit -MENU switch osd -PLAY switch pause -PAUSE switch pause -PLAYPAUSE switch pause +MENU cycle osd +PLAY cycle pause +PAUSE cycle pause +PLAYPAUSE cycle pause STOP quit FORWARD seek 60 REWIND seek -60 NEXT playlist_next PREV playlist_prev -VOLUME_UP switch volume 1 -VOLUME_DOWN switch volume -1 -MUTE switch mute +VOLUME_UP add volume 1 +VOLUME_DOWN add volume -1 +MUTE cycle mute CLOSE_WIN quit CLOSE_WIN {encode} quit -! switch chapter -1 # skip to previous chapter -@ switch chapter 1 # next -E switch edition # next edition -A switch angle 1 +! add chapter -1 # skip to previous chapter +@ add chapter 1 # next +E cycle edition # next edition +A cycle angle U stop # TV @@ -139,16 +139,16 @@ u tv_step_chanlist # Apple Remote section # -AR_PLAY switch pause +AR_PLAY cycle pause AR_PLAY_HOLD quit AR_NEXT seek 30 AR_NEXT_HOLD seek 120 AR_PREV seek -10 AR_PREV_HOLD seek -120 -AR_MENU switch osd -AR_MENU_HOLD switch mute -AR_VUP switch volume 1 -AR_VDOWN switch volume -1 +AR_MENU cycle osd +AR_MENU_HOLD cycle mute +AR_VUP add volume 1 +AR_VDOWN add volume -1 # # Joystick section @@ -160,15 +160,15 @@ JOY_AXIS0_PLUS seek 10 JOY_AXIS0_MINUS seek -10 JOY_AXIS1_MINUS seek 60 JOY_AXIS1_PLUS seek -60 -JOY_BTN0 switch pause -JOY_BTN1 switch osd -JOY_BTN2 switch volume 1 -JOY_BTN3 switch volume -1 +JOY_BTN0 cycle pause +JOY_BTN1 cycle osd +JOY_BTN2 add volume 1 +JOY_BTN3 add volume -1 # # Not assigned by default # (not an exhaustive list of unbound commands) # -#? switch sub-scale +0.1 # increase subtitle font size -#? switch sub-scale -0.1 # decrease subtitle font size +#? add sub-scale +0.1 # increase subtitle font size +#? add sub-scale -0.1 # decrease subtitle font size -- cgit v1.2.3 From d232012287fe2e6e829ce9e4c20e0d9f9dc4ed5e Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 22 Sep 2012 14:54:57 +0200 Subject: input: handle escapes always in command parser Previously, both the command parser and property expansion (m_properties_expand_string) handled escapes with '\'. Move all escape handling into the command parser, and remove it from the property code. This removes the need to escape strings twice for commands that use property expansion. The command parser is practically rewritten: it uses m_option for the actual parsing, and reduces hackish C-string handling. --- etc/input.conf | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'etc') diff --git a/etc/input.conf b/etc/input.conf index a32495ab3a..257a4538c9 100644 --- a/etc/input.conf +++ b/etc/input.conf @@ -11,15 +11,13 @@ # # Note that merely removing default key bindings from this file won't remove # the default bindings mplayer was compiled with, unless -# --input=nodefault-bindings +# --input=no-default-bindings # is specified. # # Lines starting with # are comments. Use SHARP to assign the # key. # -# Some characters need to be escaped. In particular, if you want to display -# a '\' character as part of an osd_show_property_text OSD message, you have to -# escape 2 times: -# key osd_show_property_text "This is a single backslash: \\\\!" +# Strings need to be quoted and escaped: +# KEY show_text "This is a single backslash: \\ and a quote: \" !" # # You can use modifier-key combinations like Shift+Left or Ctrl+Alt+x with # modifiers Shift, Ctrl, Alt and Meta, but note that currently reading -- cgit v1.2.3 From 88849fd1d4056bc22305cc4433dc56360dd6d0e9 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 24 Sep 2012 21:57:43 +0200 Subject: commands: add choice type to input commands Allow using the choice type (as it used for command line) for arguments of input commands. Change the magic integer arguments of some commands (like seek) to use choices instead. The old numeric values are still allowed (but only those which made sense before, not arbitrary integers). In order to do this, remove the input.c specific types (like MP_CMD_ARG_INT) completely and specify commands using the m_option types. Also, add the special choice "-" to some arguments. It's supposed to signify the default value, so arguments can be easily skipped. Maybe the choice option should recognize this and not change the previous value, but we'll leave this for later. For now, leave compatibility integer values for all new choice arguments, e.g. "0" maps to 0. We could let the choice option type do this automatically, but we don't, because we want user input values and internal mplayer values decoupled in general. The compatibility options will be removed one day, too. Also, remove optional args for strings - would require either annoying additional code, or copying strings twice. It's not used, so remove it. --- etc/input.conf | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'etc') diff --git a/etc/input.conf b/etc/input.conf index 257a4538c9..856ebba457 100644 --- a/etc/input.conf +++ b/etc/input.conf @@ -37,10 +37,10 @@ LEFT seek -10 UP seek 60 DOWN seek -60 # Do smaller, always exact (non-keyframe-limited), seeks with shift. -Shift+RIGHT seek 1 0 1 -Shift+LEFT seek -1 0 1 -Shift+UP seek 5 0 1 -Shift+DOWN seek -5 0 1 +Shift+RIGHT seek 1 - exact +Shift+LEFT seek -1 - exact +Shift+UP seek 5 - exact +Shift+DOWN seek -5 - exact PGUP seek 600 PGDWN seek -600 + add audio-delay 0.100 # this changes audio/video sync @@ -57,7 +57,7 @@ p cycle pause # toggle pause/playback mode . frame_step # advance one frame and pause SPACE cycle pause > playlist_next # skip to next file -ENTER playlist_next 1 # skip to next file or quit +ENTER playlist_next force # skip to next file or quit < playlist_prev # skip to previous file o osd # cycle through OSD mode I show_text "${filename}" # display filename in osd @@ -100,10 +100,10 @@ TAB cycle program i edl_mark # for use with --edlout mode T cycle ontop # toggle video window ontop of other windows f cycle fullscreen # toggle fullscreen -s screenshot 0 # take a png screenshot -S screenshot 1 # ...on every frame -Alt+s screenshot 0 1 # take a screenshot of window contents -Alt+S screenshot 1 1 # ...on every frame +s screenshot # take a png screenshot +S screenshot each-frame # ...on every frame +Alt+s screenshot - window # take a screenshot of window contents +Alt+S screenshot each-frame window # ...on every frame w add panscan -0.1 # zoom out with -panscan 0 -fs e add panscan +0.1 # in POWER quit -- cgit v1.2.3 From 46e8d338092a2060300de9953d01778806d87d6d Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 25 Sep 2012 03:25:44 +0200 Subject: commands: make exact seeking default bindings not use OSD The OSD bar is very annoying when seeking. Especially when the seeks are very small, the OSD doesn't show any interesting information. The exact seeking commands are a use case where the user definitely never wants to see a seek bar. --- etc/input.conf | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'etc') diff --git a/etc/input.conf b/etc/input.conf index 856ebba457..edce5e0579 100644 --- a/etc/input.conf +++ b/etc/input.conf @@ -37,10 +37,11 @@ LEFT seek -10 UP seek 60 DOWN seek -60 # Do smaller, always exact (non-keyframe-limited), seeks with shift. -Shift+RIGHT seek 1 - exact -Shift+LEFT seek -1 - exact -Shift+UP seek 5 - exact -Shift+DOWN seek -5 - exact +# 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 PGUP seek 600 PGDWN seek -600 + add audio-delay 0.100 # this changes audio/video sync -- cgit v1.2.3 From e1b15dee4c250bf6509594e241eb2856c8d21e0f Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 12 Oct 2012 09:21:26 +0200 Subject: commands: use "up" and "down" as 2nd argument for cycle command Allow the values "up" and "down" as step argument for the cycle input command. Previously, this argument was a float, which specified an arbitrary step value and direction (similar to the add command). Instead of "1" and "-1", "up" and "down" is to be used. Float values are still accepted. That capability might be removed in the future, as there's probably hardly any actual use for arbitrary step values. --- etc/input.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/input.conf b/etc/input.conf index edce5e0579..f85d3785d8 100644 --- a/etc/input.conf +++ b/etc/input.conf @@ -93,7 +93,7 @@ v cycle sub-visibility # stretch SSA/ASS subtitles with anamorphic videos to match historical V cycle ass-vsfilter-aspect-compat j cycle sub # cycle through subtitles -J cycle sub -1 # ...backwards +J cycle sub down # ...backwards F cycle sub-forced-only SHARP cycle audio # switch audio streams _ cycle video -- cgit v1.2.3