Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
ad2ce2a1
Commit
ad2ce2a1
authored
Jun 06, 2007
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix update time in variable callback so it uses ms.
parent
4b1fd54a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/video_filter/osdmenu.c
modules/video_filter/osdmenu.c
+2
-2
No files found.
modules/video_filter/osdmenu.c
View file @
ad2ce2a1
...
...
@@ -420,7 +420,7 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t i_date )
subpicture_t
*
p_spu
=
NULL
;
subpicture_region_t
*
p_region
=
NULL
;
if
(
!
p_sys
->
b_update
)
if
(
!
p_sys
->
b_update
||
(
p_sys
->
i_update
<=
0
)
)
return
NULL
;
/* Am I too early?
...
...
@@ -608,7 +608,7 @@ static int OSDMenuCallback( vlc_object_t *p_this, char const *psz_var,
}
}
else
if
(
!
strncmp
(
psz_var
,
OSD_CFG
"update"
,
14
)
)
p_sys
->
i_update
=
newval
.
i_int
;
p_sys
->
i_update
=
(
mtime_t
)(
newval
.
i_int
*
1000
)
;
else
if
(
!
strncmp
(
psz_var
,
OSD_CFG
"timeout"
,
15
)
)
p_sys
->
i_update
=
newval
.
i_int
%
1000
;
else
if
(
!
strncmp
(
psz_var
,
OSD_CFG
"alpha"
,
13
)
)
...
...
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