[vlc-devel] commit: Don't change enum orders. (Jean-Baptiste Kempf )
git version control
git at videolan.org
Mon Jan 26 20:34:15 CET 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jan 26 20:33:37 2009 +0100| [520bb970306ddd6864ab01db35f9bbef565197a1] | committer: Jean-Baptiste Kempf
Don't change enum orders.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=520bb970306ddd6864ab01db35f9bbef565197a1
---
include/vlc_keys.h | 3 ++-
src/libvlc-module.c | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/vlc_keys.h b/include/vlc_keys.h
index f178831..0776acc 100644
--- a/include/vlc_keys.h
+++ b/include/vlc_keys.h
@@ -309,7 +309,6 @@ typedef enum vlc_key {
ACTIONID_DISC_MENU,
ACTIONID_ASPECT_RATIO,
ACTIONID_CROP,
- ACTIONID_TOGGLE_SCALING,
ACTIONID_DEINTERLACE,
ACTIONID_ZOOM,
ACTIONID_UNZOOM,
@@ -340,5 +339,7 @@ typedef enum vlc_key {
ACTIONID_ZOOM_DOUBLE,
/* Cycle Through Audio Devices */
ACTIONID_AUDIODEVICE_CYCLE
+ /* Scaling in fullscreen */
+ ACTIONID_TOGGLE_SCALING,
} vlc_key_t;
#endif
diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index e88aab8..0f910c2 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -2681,7 +2681,6 @@ const struct hotkey libvlc_hotkeys[] =
{ "key-subtitle-track", ACTIONID_SUBTITLE_TRACK, 0, },
{ "key-aspect-ratio", ACTIONID_ASPECT_RATIO, 0, },
{ "key-crop", ACTIONID_CROP, 0, },
- { "key-toggle-scaling", ACTIONID_TOGGLE_SCALING, 0, },
{ "key-deinterlace", ACTIONID_DEINTERLACE, 0, },
{ "key-intf-show", ACTIONID_INTF_SHOW, 0, },
{ "key-intf-hide", ACTIONID_INTF_HIDE, 0, },
@@ -2745,6 +2744,7 @@ const struct hotkey libvlc_hotkeys[] =
{ "key-menu-down", ACTIONID_MENU_DOWN, 0, },
{ "key-menu-select", ACTIONID_MENU_SELECT, 0, },
{ "key-audiodevice-cycle", ACTIONID_AUDIODEVICE_CYCLE, 0, },
+ { "key-toggle-scaling", ACTIONID_TOGGLE_SCALING, 0, },
{ NULL, 0, 0, }
};
More information about the vlc-devel
mailing list