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
f1cde45f
Commit
f1cde45f
authored
Feb 23, 2010
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logo: "mouse-object" is attached to vout not filter->parent.
Signed-off-by:
Jean-Paul Saman
<
jean-paul.saman@m2x.nl
>
parent
744486e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
modules/video_filter/logo.c
modules/video_filter/logo.c
+10
-6
No files found.
modules/video_filter/logo.c
View file @
f1cde45f
/*****************************************************************************
* logo.c : logo video plugin for vlc
*****************************************************************************
* Copyright (C) 2003-20
06
the VideoLAN team
* Copyright (C) 2003-20
10
the VideoLAN team
* $Id$
*
* Authors: Gildas Bazin <gbazin@videolan.org>
...
...
@@ -534,13 +534,17 @@ static int Mouse( filter_t *p_filter, vlc_mouse_t *p_mouse,
p_sys
->
i_pos_y
=
__MIN
(
__MAX
(
p_sys
->
i_pos_y
+
i_dy
,
0
),
p_filter
->
fmt_in
.
video
.
i_height
-
i_logo_h
);
/* object under mouse has moved */
var_SetBool
(
p_filter
->
p_parent
,
"mouse-object"
,
true
);
}
else
if
(
b_over
)
/* mouse-object: area of interest */
if
(
b_over
)
{
/* object under mouse stoped moving */
var_SetBool
(
p_filter
->
p_parent
,
"mouse-object"
,
false
);
vout_thread_t
*
p_vout
=
vlc_object_find
(
p_filter
,
VLC_OBJECT_VOUT
,
FIND_ANYWHERE
);
if
(
p_vout
)
{
var_SetBool
(
p_vout
,
"mouse-object"
,
p_sys
->
b_mouse_grab
);
vlc_object_release
(
p_vout
);
}
}
if
(
p_sys
->
b_mouse_grab
||
b_over
)
...
...
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