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
13b97d7c
Commit
13b97d7c
authored
Jun 06, 2007
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OSDMenu update time of 0 ms disables the menu, so put in a sane default value.
parent
31982bc9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
modules/video_filter/osdmenu.c
modules/video_filter/osdmenu.c
+5
-3
No files found.
modules/video_filter/osdmenu.c
View file @
13b97d7c
...
@@ -102,7 +102,7 @@ static int OSDMenuCallback( vlc_object_t *, char const *,
...
@@ -102,7 +102,7 @@ static int OSDMenuCallback( vlc_object_t *, char const *,
#endif
#endif
#define OSD_UPDATE_MIN 0
#define OSD_UPDATE_MIN 0
#define OSD_UPDATE_DEFAULT 0
#define OSD_UPDATE_DEFAULT
30
0
#define OSD_UPDATE_MAX 1000
#define OSD_UPDATE_MAX 1000
vlc_module_begin
();
vlc_module_begin
();
...
@@ -313,6 +313,7 @@ static int OSDMenuVisibleEvent( vlc_object_t *p_this, char const *psz_var,
...
@@ -313,6 +313,7 @@ static int OSDMenuVisibleEvent( vlc_object_t *p_this, char const *psz_var,
filter_t
*
p_filter
=
(
filter_t
*
)
p_data
;
filter_t
*
p_filter
=
(
filter_t
*
)
p_data
;
p_filter
->
p_sys
->
b_visible
=
VLC_TRUE
;
p_filter
->
p_sys
->
b_visible
=
VLC_TRUE
;
p_filter
->
p_sys
->
b_update
=
VLC_TRUE
;
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
}
}
...
@@ -320,9 +321,10 @@ static int OSDMenuUpdateEvent( vlc_object_t *p_this, char const *psz_var,
...
@@ -320,9 +321,10 @@ static int OSDMenuUpdateEvent( vlc_object_t *p_this, char const *psz_var,
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
p_data
)
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
p_data
)
{
{
filter_t
*
p_filter
=
(
filter_t
*
)
p_data
;
filter_t
*
p_filter
=
(
filter_t
*
)
p_data
;
filter_sys_t
*
p_sys
=
p_filter
->
p_sys
;
p_
filter
->
p_sys
->
b_update
=
VLC_TRU
E
;
p_
sys
->
b_update
=
p_sys
->
b_visible
?
VLC_TRUE
:
VLC_FALS
E
;
p_
filter
->
p_
sys
->
i_end_date
=
(
mtime_t
)
0
;
p_sys
->
i_end_date
=
(
mtime_t
)
0
;
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
}
}
...
...
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