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
2f58aad4
Commit
2f58aad4
authored
Feb 05, 2010
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logo: inform listeners when picture has been moved
parent
114b922f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
modules/video_filter/logo.c
modules/video_filter/logo.c
+8
-1
No files found.
modules/video_filter/logo.c
View file @
2f58aad4
...
...
@@ -231,7 +231,6 @@ static int OpenCommon( vlc_object_t *p_this, bool b_sub )
return
VLC_EGENERIC
;
}
/* */
p_filter
->
p_sys
=
p_sys
=
malloc
(
sizeof
(
*
p_sys
)
);
if
(
!
p_sys
)
...
...
@@ -534,6 +533,14 @@ static int Mouse( filter_t *p_filter, vlc_mouse_t *p_mouse,
p_filter
->
fmt_in
.
video
.
i_width
-
i_logo_w
);
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
)
{
/* object under mouse stoped moving */
var_SetBool
(
p_filter
->
p_parent
,
"mouse-object"
,
false
);
}
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