[vlc-devel] [PATCH 1/1] Cycle video tracks keyboard shortcut

Antoine Huchet antoine+vlc at huchet.me
Wed Apr 3 15:19:21 CEST 2019


---
 modules/control/hotkeys.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/control/hotkeys.c b/modules/control/hotkeys.c
index aa2a075934..e416fc24b3 100644
--- a/modules/control/hotkeys.c
+++ b/modules/control/hotkeys.c
@@ -351,6 +351,9 @@ PLAYER_ACTION_HANDLER(Track)
         case ACTIONID_AUDIO_TRACK:
             vlc_player_SelectNextTrack(player, AUDIO_ES);
             break;
+        case ACTIONID_VIDEO_TRACK:
+            vlc_player_SelectNextTrack(player, VIDEO_ES);
+            break;
         case ACTIONID_SUBTITLE_REVERSE_TRACK:
             vlc_player_SelectPrevTrack(player, SPU_ES);
             break;
-- 
2.19.1

-- 
Antoine Huchet


More information about the vlc-devel mailing list