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
e31c7798
Commit
e31c7798
authored
Jun 01, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
service_discovery: Remove an uneeded hack.
parent
dd9d6f4e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
src/playlist/services_discovery.c
src/playlist/services_discovery.c
+0
-16
No files found.
src/playlist/services_discovery.c
View file @
e31c7798
...
...
@@ -219,22 +219,6 @@ static void playlist_sd_item_added( const vlc_event_t * p_event, void * user_dat
p_input
->
psz_name
?
p_input
->
psz_name
:
"(null)"
,
psz_cat
?
psz_cat
:
"(null)"
);
/* If p_parent is in root category (this is clearly a hack) and we have a cat */
if
(
!
EMPTY_STR
(
psz_cat
)
&&
p_parent
->
p_parent
==
p_parent
->
p_playlist
->
p_root_category
)
{
/* */
playlist_item_t
*
p_cat
;
p_cat
=
playlist_ChildSearchName
(
p_parent
,
psz_cat
);
if
(
!
p_cat
)
{
p_cat
=
playlist_NodeCreate
(
p_parent
->
p_playlist
,
psz_cat
,
p_parent
,
0
,
NULL
);
p_cat
->
i_flags
&=
~
PLAYLIST_SKIP_FLAG
;
}
p_parent
=
p_cat
;
}
p_new_item
=
playlist_NodeAddInput
(
p_parent
->
p_playlist
,
p_input
,
p_parent
,
PLAYLIST_APPEND
,
PLAYLIST_END
,
false
);
if
(
p_new_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