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
4842d4ca
Commit
4842d4ca
authored
Nov 12, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/playlist/*: a couple of compilation fixes.
parent
a0ffcd86
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
src/playlist/item.c
src/playlist/item.c
+2
-2
src/playlist/playlist.c
src/playlist/playlist.c
+2
-2
src/playlist/view.c
src/playlist/view.c
+5
-5
No files found.
src/playlist/item.c
View file @
4842d4ca
...
...
@@ -246,7 +246,7 @@ int playlist_ItemSetDuration( playlist_item_t *p_item, mtime_t i_duration )
p_item
->
input
.
i_duration
=
i_duration
;
if
(
i_duration
!=
-
1
)
{
secstotimestr
(
psz_buffer
,
i_duration
/
1000000
);
secstotimestr
(
psz_buffer
,
(
int
)(
i_duration
/
1000000
)
);
}
else
{
...
...
@@ -291,5 +291,5 @@ static void GuessType( input_item_t *p_item)
return
;
}
}
return
ITEM_TYPE_UNKNOWN
;
p_item
->
i_type
=
ITEM_TYPE_UNKNOWN
;
}
src/playlist/playlist.c
View file @
4842d4ca
...
...
@@ -221,11 +221,11 @@ int playlist_Control( playlist_t * p_playlist, int i_query, ... )
int
playlist_vaControl
(
playlist_t
*
p_playlist
,
int
i_query
,
va_list
args
)
{
vlc_mutex_lock
(
&
p_playlist
->
object_lock
);
playlist_view_t
*
p_view
;
vlc_value_t
val
;
vlc_mutex_lock
(
&
p_playlist
->
object_lock
);
#ifdef PLAYLIST_PROFILE
p_playlist
->
request_date
=
mdate
();
#endif
...
...
src/playlist/view.c
View file @
4842d4ca
...
...
@@ -90,7 +90,8 @@ playlist_view_t * playlist_ViewCreate( playlist_t *p_playlist, int i_id,
*/
int
playlist_ViewInsert
(
playlist_t
*
p_playlist
,
int
i_id
,
char
*
psz_name
)
{
playlist_view_t
*
p_view
=
playlist_ViewCreate
(
p_playlist
,
i_id
,
psz_name
);
playlist_view_t
*
p_view
=
playlist_ViewCreate
(
p_playlist
,
i_id
,
psz_name
);
if
(
!
p_view
)
{
msg_Err
(
p_playlist
,
"Creation failed"
);
...
...
@@ -99,12 +100,11 @@ int playlist_ViewInsert( playlist_t *p_playlist, int i_id, char *psz_name )
vlc_mutex_lock
(
&
p_playlist
->
object_lock
);
INSERT_ELEM
(
p_playlist
->
pp_views
,
p_playlist
->
i_views
,
p_playlist
->
i_views
,
p_view
);
INSERT_ELEM
(
p_playlist
->
pp_views
,
p_playlist
->
i_views
,
p_playlist
->
i_views
,
p_view
);
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
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