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
c24e8f31
Commit
c24e8f31
authored
Aug 03, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
media_list_player: Fix.
parent
c1f72dfd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
src/control/media_list_player.c
src/control/media_list_player.c
+11
-8
No files found.
src/control/media_list_player.c
View file @
c24e8f31
...
...
@@ -43,9 +43,9 @@ get_next_path( libvlc_media_list_player_t * p_mlp )
if
(
!
p_mlp
->
current_playing_item_path
)
{
ret
=
libvlc_media_list_path_empty
();
libvlc_media_list_path_append
(
&
ret
,
0
)
;
return
ret
;
if
(
!
libvlc_media_list_count
(
p_mlp
,
NULL
)
)
return
NULL
;
return
libvlc_media_list_path_with_root_index
(
0
)
;
}
p_sublist_of_playing_item
=
libvlc_media_list_sublist_at_path
(
...
...
@@ -210,8 +210,11 @@ set_current_playing_item( libvlc_media_list_player_t * p_mlp,
p_md
=
libvlc_media_list_item_at_path
(
p_mlp
->
p_mlist
,
path
);
vlc_mutex_lock
(
&
p_mlp
->
object_lock
);
if
(
p_mlp
->
current_playing_item_path
!=
path
)
{
free
(
p_mlp
->
current_playing_item_path
);
p_mlp
->
current_playing_item_path
=
path
;
}
if
(
!
p_md
)
{
...
...
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