Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
7b00af57
Commit
7b00af57
authored
Nov 08, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Dump hotkey
parent
017f4aed
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
include/vlc_keys.h
include/vlc_keys.h
+1
-0
src/libvlc.h
src/libvlc.h
+7
-0
No files found.
include/vlc_keys.h
View file @
7b00af57
...
...
@@ -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
src/libvlc.h
View file @
7b00af57
...
...
@@ -1153,6 +1153,8 @@ static const char *ppsz_pltree_descriptions[] = { N_("Default"), N_("Always"), N
#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 ZOOM_KEY_TEXT N_("Zoom")
#define ZOOM_KEY_LONGTEXT N_("Zoom")
...
...
@@ -1845,6 +1847,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'
...
...
@@ -1927,6 +1930,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
,
...
...
@@ -2024,6 +2028,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-zoom"
,
KEY_ZOOM
,
NULL
,
ZOOM_KEY_TEXT
,
ZOOM_KEY_LONGTEXT
,
VLC_TRUE
);
add_key
(
"key-unzoom"
,
KEY_UNZOOM
,
NULL
,
...
...
@@ -2280,5 +2286,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
}
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment