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
1e0b16b3
Commit
1e0b16b3
authored
May 15, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Should fix Xosd compilation
parent
dea44d96
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
modules/visualization/xosd.c
modules/visualization/xosd.c
+7
-7
No files found.
modules/visualization/xosd.c
View file @
1e0b16b3
...
...
@@ -206,7 +206,7 @@ static void Run( intf_thread_t *p_intf )
{
playlist_t
*
p_playlist
;
playlist_item_t
*
p_item
=
NULL
;
input_item_t
item
;
input_item_t
*
p_input
;
char
psz_duration
[
MSTRTIME_MAX_SIZE
+
2
];
char
*
psz_display
=
NULL
;
...
...
@@ -244,8 +244,8 @@ static void Run( intf_thread_t *p_intf )
}
else
{
p_item
=
p_playlist
->
status
.
p_item
;
item
=
p_item
->
input
;
p_item
=
p_playlist
->
status
.
p_item
;
p_input
=
p_item
->
p_
input
;
if
(
!
p_item
)
{
vlc_object_release
(
p_playlist
);
...
...
@@ -254,10 +254,10 @@ static void Run( intf_thread_t *p_intf )
vlc_object_release
(
p_playlist
);
if
(
item
.
i_duration
!=
-
1
)
if
(
p_input
->
i_duration
!=
-
1
)
{
char
psz_durationstr
[
MSTRTIME_MAX_SIZE
];
secstotimestr
(
psz_durationstr
,
item
.
i_duration
/
1000000
);
secstotimestr
(
psz_durationstr
,
p_input
->
i_duration
/
1000000
);
sprintf
(
psz_duration
,
"(%s)"
,
psz_durationstr
);
}
else
...
...
@@ -266,10 +266,10 @@ static void Run( intf_thread_t *p_intf )
}
psz_display
=
(
char
*
)
malloc
(
sizeof
(
char
)
*
(
strlen
(
item
.
psz_name
)
+
(
strlen
(
p_input
->
psz_name
)
+
MSTRTIME_MAX_SIZE
+
2
+
6
+
10
+
10
));
sprintf
(
psz_display
,
"%s %s"
,
item
.
psz_name
,
psz_duration
);
p_input
->
psz_name
,
psz_duration
);
}
/* Display */
...
...
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