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
6dd4b20e
Commit
6dd4b20e
authored
Aug 18, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(oops).
parent
7837da55
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/playlist/item.c
src/playlist/item.c
+4
-4
No files found.
src/playlist/item.c
View file @
6dd4b20e
...
...
@@ -64,8 +64,6 @@ static void input_item_subitem_added( const vlc_event_t * p_event,
if
(
!
p_child_in_category
)
{
b_play
=
b_play
&&
p_item_in_category
==
p_playlist
->
status
.
p_item
;
/* Then, transform to a node if needed */
p_item_in_category
=
playlist_ItemFindFromInputAndRoot
(
p_playlist
,
p_parent
->
i_id
,
...
...
@@ -75,9 +73,11 @@ static void input_item_subitem_added( const vlc_event_t * p_event,
{
/* Item may have been removed */
PL_UNLOCK
;
return
return
;
}
b_play
=
b_play
&&
p_item_in_category
==
p_playlist
->
status
.
p_item
;
/* If this item is already a node don't transform it */
if
(
p_item_in_category
->
i_children
==
-
1
)
{
...
...
@@ -169,7 +169,7 @@ playlist_item_t *__playlist_ItemNewFromInput( vlc_object_t *p_obj,
/** Delete a playlist item and detach its input item */
int
playlist_ItemDelete
(
playlist_item_t
*
p_item
)
{
uninstall_input_item_observer
(
p_item
->
p_playlist
,
p_item
->
p_input
);
uninstall_input_item_observer
(
p_item
,
p_item
->
p_input
);
vlc_gc_decref
(
p_item
->
p_input
);
free
(
p_item
);
...
...
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