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
2dfd048e
Commit
2dfd048e
authored
Feb 27, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gestures: cleaning.
parent
8285136c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
modules/control/gestures.c
modules/control/gestures.c
+13
-4
No files found.
modules/control/gestures.c
View file @
2dfd048e
...
...
@@ -385,13 +385,16 @@ static void RunIntf( intf_thread_t *p_intf )
vlc_object_release
(
p_input
);
}
break
;
case
GESTURE
(
UP
,
LEFT
,
NONE
,
NONE
):
if
(
p_intf
->
p_sys
->
p_vout
)
{
((
vout_thread_t
*
)
p_intf
->
p_sys
->
p_vout
)
->
i_changes
|=
VOUT_FULLSCREEN_CHANGE
;
var_Get
(
p_intf
->
p_sys
->
p_vout
,
"fullscreen"
,
&
val
);
val
.
b_bool
=
!
val
.
b_bool
;
var_Set
(
p_intf
->
p_sys
->
p_vout
,
"fullscreen"
,
val
);
}
break
;
case
GESTURE
(
DOWN
,
LEFT
,
NONE
,
NONE
):
/* FIXME: Should close the vout!"*/
libvlc_Quit
(
p_intf
->
p_libvlc
);
...
...
@@ -423,8 +426,14 @@ static void RunIntf( intf_thread_t *p_intf )
if
(
p_intf
->
p_sys
->
p_vout
==
NULL
)
{
p_intf
->
p_sys
->
p_vout
=
vlc_object_find
(
p_intf
,
VLC_OBJECT_VOUT
,
FIND_ANYWHERE
);
p_playlist
=
pl_Hold
(
p_intf
);
p_input
=
playlist_CurrentInput
(
p_playlist
);
pl_Release
(
p_intf
);
if
(
p_input
)
{
p_intf
->
p_sys
->
p_vout
=
input_GetVout
(
p_input
);
vlc_object_release
(
p_input
);
}
if
(
p_intf
->
p_sys
->
p_vout
)
{
var_AddCallback
(
p_intf
->
p_sys
->
p_vout
,
"mouse-moved"
,
...
...
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