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
c56d3b79
Commit
c56d3b79
authored
Jun 11, 2004
by
Olivier Aubert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Bug fix in unit conversion
* Updated text display to new API (added i_channel)
parent
b602fb16
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
modules/control/corba/mediacontrol-core.c
modules/control/corba/mediacontrol-core.c
+10
-4
No files found.
modules/control/corba/mediacontrol-core.c
View file @
c56d3b79
...
...
@@ -123,7 +123,10 @@ mediacontrol_position2microsecond( input_thread_t* p_input, const mediacontrol_P
vlc_value_t
val
;
val
.
i_time
=
0
;
var_Get
(
p_input
,
"time"
,
&
val
);
if
(
p_input
)
{
var_Get
(
p_input
,
"time"
,
&
val
);
}
l_pos
=
1000
*
mediacontrol_unit_convert
(
p_input
,
pos
->
key
,
...
...
@@ -138,7 +141,10 @@ mediacontrol_position2microsecond( input_thread_t* p_input, const mediacontrol_P
vlc_value_t
val
;
val
.
i_time
=
0
;
var_Get
(
p_input
,
"length"
,
&
val
);
if
(
p_input
)
{
var_Get
(
p_input
,
"length"
,
&
val
);
}
if
(
val
.
i_time
>
0
)
{
...
...
@@ -736,7 +742,7 @@ mediacontrol_display_text( mediacontrol_Instance *self,
mediacontrol_MediaTime
,
end
->
value
);
vout_ShowTextRelative
(
p_vout
,
(
char
*
)
message
,
NULL
,
vout_ShowTextRelative
(
p_vout
,
SUBT1_CHAN
,
(
char
*
)
message
,
NULL
,
OSD_ALIGN_BOTTOM
|
OSD_ALIGN_LEFT
,
20
,
20
,
i_duration
);
}
...
...
@@ -762,7 +768,7 @@ mediacontrol_display_text( mediacontrol_Instance *self,
(
mediacontrol_Position
*
)
end
);
i_fin
+=
i_now
;
vout_ShowTextAbsolute
(
p_vout
,(
char
*
)
message
,
NULL
,
vout_ShowTextAbsolute
(
p_vout
,
SUBT1_CHAN
,
(
char
*
)
message
,
NULL
,
OSD_ALIGN_BOTTOM
|
OSD_ALIGN_LEFT
,
20
,
20
,
i_debut
,
i_fin
);
}
...
...
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