Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
3c42af82
Commit
3c42af82
authored
May 23, 2004
by
Yoann Peronneau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OSD sliders are now used if the vout is not embedded or in fullscreen mode.
parent
9cfa6038
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
modules/control/hotkeys.c
modules/control/hotkeys.c
+8
-8
No files found.
modules/control/hotkeys.c
View file @
3c42af82
...
...
@@ -239,7 +239,7 @@ static void Run( intf_thread_t *p_intf )
{
audio_volume_t
i_newvol
;
aout_VolumeUp
(
p_intf
,
1
,
&
i_newvol
);
if
(
p_vout
->
b_fullscreen
)
if
(
!
p_vout
->
p_parent_intf
||
p_vout
->
b_fullscreen
)
{
vout_OSDSlider
(
VLC_OBJECT
(
p_intf
),
i_newvol
*
100
/
AOUT_VOLUME_MAX
,
1
);
...
...
@@ -254,7 +254,7 @@ static void Run( intf_thread_t *p_intf )
{
audio_volume_t
i_newvol
;
aout_VolumeDown
(
p_intf
,
1
,
&
i_newvol
);
if
(
p_vout
->
b_fullscreen
)
if
(
!
p_vout
->
p_parent_intf
||
p_vout
->
b_fullscreen
)
{
vout_OSDSlider
(
VLC_OBJECT
(
p_intf
),
i_newvol
*
100
/
AOUT_VOLUME_MAX
,
1
);
...
...
@@ -356,7 +356,7 @@ static void Run( intf_thread_t *p_intf )
{
val
.
i_time
=
-
10000000
;
var_Set
(
p_input
,
"time-offset"
,
val
);
if
(
p_vout
->
b_fullscreen
)
if
(
!
p_vout
->
p_parent_intf
||
p_vout
->
b_fullscreen
)
{
vout_OSDSlider
(
VLC_OBJECT
(
p_intf
),
GetPosition
(
p_intf
),
0
);
...
...
@@ -370,7 +370,7 @@ static void Run( intf_thread_t *p_intf )
{
val
.
i_time
=
10000000
;
var_Set
(
p_input
,
"time-offset"
,
val
);
if
(
p_vout
->
b_fullscreen
)
if
(
!
p_vout
->
p_parent_intf
||
p_vout
->
b_fullscreen
)
{
vout_OSDSlider
(
VLC_OBJECT
(
p_intf
),
GetPosition
(
p_intf
),
0
);
...
...
@@ -384,7 +384,7 @@ static void Run( intf_thread_t *p_intf )
{
val
.
i_time
=
-
60000000
;
var_Set
(
p_input
,
"time-offset"
,
val
);
if
(
p_vout
->
b_fullscreen
)
if
(
!
p_vout
->
p_parent_intf
||
p_vout
->
b_fullscreen
)
{
vout_OSDSlider
(
VLC_OBJECT
(
p_intf
),
GetPosition
(
p_intf
),
0
);
...
...
@@ -398,7 +398,7 @@ static void Run( intf_thread_t *p_intf )
{
val
.
i_time
=
60000000
;
var_Set
(
p_input
,
"time-offset"
,
val
);
if
(
p_vout
->
b_fullscreen
)
if
(
!
p_vout
->
p_parent_intf
||
p_vout
->
b_fullscreen
)
{
vout_OSDSlider
(
VLC_OBJECT
(
p_intf
),
GetPosition
(
p_intf
),
0
);
...
...
@@ -413,7 +413,7 @@ static void Run( intf_thread_t *p_intf )
vout_OSDMessage
(
p_intf
,
_
(
"Jump -5 minutes"
)
);
val
.
i_time
=
-
300000000
;
var_Set
(
p_input
,
"time-offset"
,
val
);
if
(
p_vout
->
b_fullscreen
)
if
(
!
p_vout
->
p_parent_intf
||
p_vout
->
b_fullscreen
)
{
vout_OSDSlider
(
VLC_OBJECT
(
p_intf
),
GetPosition
(
p_intf
),
0
);
...
...
@@ -427,7 +427,7 @@ static void Run( intf_thread_t *p_intf )
{
val
.
i_time
=
300000000
;
var_Set
(
p_input
,
"time-offset"
,
val
);
if
(
p_vout
->
b_fullscreen
)
if
(
!
p_vout
->
p_parent_intf
||
p_vout
->
b_fullscreen
)
{
vout_OSDSlider
(
VLC_OBJECT
(
p_intf
),
GetPosition
(
p_intf
),
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