Commit 2011f4f0 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Backport bindings for the dump access filter

parent d815c5c6
......@@ -1113,7 +1113,7 @@ VLC_ADD_PLUGINS([packetizer_mpeg4video packetizer_mpeg4audio])
if test "${SYS}" != "mingwce"; then
dnl VLC_ADD_PLUGINS([externrun])
VLC_ADD_PLUGINS([access_fake access_filter_timeshift access_filter_record])
VLC_ADD_PLUGINS([access_fake access_filter_timeshift access_filter_record access_filter_dump])
VLC_ADD_PLUGINS([gestures rc telnet hotkeys netsync showintf time marq podcast shout sap fake])
VLC_ADD_PLUGINS([rss mosaic wall motiondetect clone crop])
VLC_ADD_PLUGINS([i420_yuy2 i422_yuy2 i420_ymga])
......
......@@ -298,3 +298,4 @@ static inline int StringToKey( char *psz_key )
#define ACTIONID_UNCROP_BOTTOM 77
#define ACTIONID_CROP_RIGHT 78
#define ACTIONID_UNCROP_RIGHT 79
#define ACTIONID_DUMP 80
......@@ -1097,6 +1097,8 @@ static char *ppsz_clock_descriptions[] =
#define RECORD_KEY_TEXT N_("Record")
#define RECORD_KEY_LONGTEXT N_("Record access filter start/stop.")
#define DUMP_KEY_TEXT N_("Dump")
#define DUMP_KEY_LONGTEXT N_("Media dump access filter trigger.")
#define UNZOOM_KEY_TEXT N_("Un-Zoom")
#define UNZOOM_KEY_LONGTEXT N_("Un-Zoom")
......@@ -1730,6 +1732,7 @@ vlc_module_begin();
# define KEY_HISTORY_BACK KEY_MODIFIER_COMMAND|'['
# define KEY_HISTORY_FORWARD KEY_MODIFIER_COMMAND|']'
# define KEY_RECORD KEY_MODIFIER_COMMAND|KEY_MODIFIER_SHIFT|'r'
# define KEY_DUMP KEY_MODIFIER_COMMAND|KEY_MODIFIER_SHIFT|'d'
#else
# define KEY_FULLSCREEN 'f'
......@@ -1810,6 +1813,7 @@ vlc_module_begin();
# define KEY_HISTORY_BACK KEY_MODIFIER_CTRL|'v'
# define KEY_HISTORY_FORWARD KEY_MODIFIER_CTRL|'b'
# define KEY_RECORD KEY_MODIFIER_CTRL|'r'
# define KEY_DUMP KEY_MODIFIER_CTRL|KEY_MODIFIER_SHIFT|'d'
#endif
add_key( "key-fullscreen", KEY_FULLSCREEN, NULL, FULLSCREEN_KEY_TEXT,
......@@ -1907,6 +1911,8 @@ vlc_module_begin();
HISTORY_FORWARD_TEXT, HISTORY_FORWARD_LONGTEXT, VLC_TRUE );
add_key( "key-record", KEY_RECORD, NULL,
RECORD_KEY_TEXT, RECORD_KEY_LONGTEXT, VLC_TRUE );
add_key( "key-dump", KEY_DUMP, NULL,
DUMP_KEY_TEXT, DUMP_KEY_LONGTEXT, VLC_TRUE );
add_key( "key-crop-top", KEY_CROP_TOP, NULL,
CROP_TOP_KEY_TEXT, CROP_TOP_KEY_LONGTEXT, VLC_TRUE );
......@@ -2119,5 +2125,6 @@ static struct hotkey p_hotkeys[] =
{ "key-history-back", ACTIONID_HISTORY_BACK, 0, 0, 0, 0 },
{ "key-history-forward", ACTIONID_HISTORY_FORWARD, 0, 0, 0, 0 },
{ "key-record", ACTIONID_RECORD, 0, 0, 0, 0 },
{ "key-dump", ACTIONID_DUMP, 0, 0, 0, 0 },
{ NULL, 0, 0, 0, 0, 0 }
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment