Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
1a6ac714
Commit
1a6ac714
authored
Aug 28, 2015
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add sub text scaling hotkeys
parent
2e76eb81
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
src/libvlc-module.c
src/libvlc-module.c
+16
-0
No files found.
src/libvlc-module.c
View file @
1a6ac714
...
@@ -1269,6 +1269,10 @@ static const char *const mouse_wheel_texts[] = {
...
@@ -1269,6 +1269,10 @@ static const char *const mouse_wheel_texts[] = {
#define SUBDELAY_UP_KEY_LONGTEXT N_("Select the key to increase the subtitle delay.")
#define SUBDELAY_UP_KEY_LONGTEXT N_("Select the key to increase the subtitle delay.")
#define SUBDELAY_DOWN_KEY_TEXT N_("Subtitle delay down")
#define SUBDELAY_DOWN_KEY_TEXT N_("Subtitle delay down")
#define SUBDELAY_DOWN_KEY_LONGTEXT N_("Select the key to decrease the subtitle delay.")
#define SUBDELAY_DOWN_KEY_LONGTEXT N_("Select the key to decrease the subtitle delay.")
#define SUBTEXT_SCALE_KEY_TEXT N_("Reset subtitles text scale")
#define SUBTEXT_SCALEDOWN_KEY_TEXT N_("Scale up subtitles text")
#define SUBTEXT_SCALEUP_KEY_TEXT N_("Scale down subtitles text")
#define SUBTEXT_SCALE_KEY_LONGTEXT N_("Select the key to change subtitles text scaling")
#define SUBSYNC_MARKAUDIO_KEY_TEXT N_("Subtitle sync / bookmark audio timestamp")
#define SUBSYNC_MARKAUDIO_KEY_TEXT N_("Subtitle sync / bookmark audio timestamp")
#define SUBSYNC_MARKAUDIO_KEY_LONGTEXT N_("Select the key to bookmark audio timestamp when syncing subtitles.")
#define SUBSYNC_MARKAUDIO_KEY_LONGTEXT N_("Select the key to bookmark audio timestamp when syncing subtitles.")
#define SUBSYNC_MARKSUB_KEY_TEXT N_("Subtitle sync / bookmark subtitle timestamp")
#define SUBSYNC_MARKSUB_KEY_TEXT N_("Subtitle sync / bookmark subtitle timestamp")
...
@@ -2144,6 +2148,9 @@ vlc_module_begin ()
...
@@ -2144,6 +2148,9 @@ vlc_module_begin ()
# define KEY_SUBDELAY_DOWN "h"
# define KEY_SUBDELAY_DOWN "h"
# define KEY_SUBPOS_DOWN NULL
# define KEY_SUBPOS_DOWN NULL
# define KEY_SUBPOS_UP NULL
# define KEY_SUBPOS_UP NULL
# define KEY_SUBTEXT_SCALEUP "Command+Mouse Wheel Up"
# define KEY_SUBTEXT_SCALEDOWN "Command+Mouse Wheel Down"
# define KEY_SUBTEXT_SCALE "Command+0"
# define KEY_SUBSYNC_MARKAUDIO "Shift+h"
# define KEY_SUBSYNC_MARKAUDIO "Shift+h"
# define KEY_SUBSYNC_MARKSUB "Shift+j"
# define KEY_SUBSYNC_MARKSUB "Shift+j"
# define KEY_SUBSYNC_APPLY "Shift+k"
# define KEY_SUBSYNC_APPLY "Shift+k"
...
@@ -2276,6 +2283,9 @@ vlc_module_begin ()
...
@@ -2276,6 +2283,9 @@ vlc_module_begin ()
# define KEY_SUBDELAY_DOWN "g"
# define KEY_SUBDELAY_DOWN "g"
# define KEY_SUBPOS_DOWN NULL
# define KEY_SUBPOS_DOWN NULL
# define KEY_SUBPOS_UP NULL
# define KEY_SUBPOS_UP NULL
# define KEY_SUBTEXT_SCALEUP "Ctrl+Mouse Wheel Up"
# define KEY_SUBTEXT_SCALEDOWN "Ctrl+Mouse Wheel Down"
# define KEY_SUBTEXT_SCALE "Ctrl+0"
# define KEY_SUBSYNC_MARKAUDIO "Shift+h"
# define KEY_SUBSYNC_MARKAUDIO "Shift+h"
# define KEY_SUBSYNC_MARKSUB "Shift+j"
# define KEY_SUBSYNC_MARKSUB "Shift+j"
# define KEY_SUBSYNC_APPLY "Shift+k"
# define KEY_SUBSYNC_APPLY "Shift+k"
...
@@ -2584,6 +2594,12 @@ vlc_module_begin ()
...
@@ -2584,6 +2594,12 @@ vlc_module_begin ()
add_key
(
"key-clear-playlist"
,
KEY_PLAY_CLEAR
,
add_key
(
"key-clear-playlist"
,
KEY_PLAY_CLEAR
,
PLAY_CLEAR_KEY_TEXT
,
PLAY_CLEAR_KEY_LONGTEXT
,
true
)
PLAY_CLEAR_KEY_TEXT
,
PLAY_CLEAR_KEY_LONGTEXT
,
true
)
add_key
(
"key-subtitle-text-scale-normal"
,
KEY_SUBTEXT_SCALE
,
SUBTEXT_SCALE_KEY_TEXT
,
SUBTEXT_SCALE_KEY_LONGTEXT
,
true
)
add_key
(
"key-subtitle-text-scale-up"
,
KEY_SUBTEXT_SCALEUP
,
SUBTEXT_SCALEUP_KEY_TEXT
,
SUBTEXT_SCALE_KEY_LONGTEXT
,
true
)
add_key
(
"key-subtitle-text-scale-down"
,
KEY_SUBTEXT_SCALEDOWN
,
SUBTEXT_SCALEDOWN_KEY_TEXT
,
SUBTEXT_SCALE_KEY_LONGTEXT
,
true
)
add_string
(
"bookmark1"
,
NULL
,
add_string
(
"bookmark1"
,
NULL
,
BOOKMARK1_TEXT
,
BOOKMARK_LONGTEXT
,
false
)
BOOKMARK1_TEXT
,
BOOKMARK_LONGTEXT
,
false
)
...
...
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