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
8ffdf4dc
Commit
8ffdf4dc
authored
Aug 18, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modules/services_discovery/bonjour.c: Use the new service discovery API.
parent
8efc07b1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
23 deletions
+2
-23
modules/services_discovery/bonjour.c
modules/services_discovery/bonjour.c
+2
-23
No files found.
modules/services_discovery/bonjour.c
View file @
8ffdf4dc
...
...
@@ -181,19 +181,7 @@ static void resolve_callback(
}
if
(
p_input
!=
NULL
)
{
playlist_item_t
*
p_item
;
p_item
=
playlist_NodeAddInput
(
p_sys
->
p_playlist
,
p_input
,
p_sys
->
p_node_cat
,
PLAYLIST_APPEND
,
PLAYLIST_END
,
VLC_FALSE
);
p_item
->
i_flags
&=
~
PLAYLIST_SKIP_FLAG
;
p_item
->
i_flags
&=
~
PLAYLIST_SAVE_FLAG
;
p_item
=
playlist_NodeAddInput
(
p_sys
->
p_playlist
,
p_input
,
p_sys
->
p_node_one
,
PLAYLIST_APPEND
,
PLAYLIST_END
,
VLC_FALSE
);
p_item
->
i_flags
&=
~
PLAYLIST_SKIP_FLAG
;
p_item
->
i_flags
&=
~
PLAYLIST_SAVE_FLAG
;
services_discovery_AddItem
(
p_sd
,
p_input
,
NULL
);
}
}
...
...
@@ -308,16 +296,7 @@ static int Open( vlc_object_t *p_this )
goto
error
;
}
p_sys
->
p_node_cat
=
playlist_NodeCreate
(
p_sys
->
p_playlist
,
_
(
"Bonjour"
),
p_sys
->
p_playlist
->
p_root_category
,
0
);
p_sys
->
p_node_one
=
playlist_NodeCreate
(
p_sys
->
p_playlist
,
_
(
"Bonjour"
),
p_sys
->
p_playlist
->
p_root_onelevel
,
0
);
p_sys
->
p_node_one
->
p_input
->
i_id
=
p_sys
->
p_node_cat
->
p_input
->
i_id
;
p_sys
->
p_node_one
->
i_flags
|=
PLAYLIST_RO_FLAG
;
p_sys
->
p_node_cat
->
i_flags
|=
PLAYLIST_RO_FLAG
;
p_sys
->
p_node_one
->
i_flags
|=
PLAYLIST_SKIP_FLAG
;
p_sys
->
p_node_cat
->
i_flags
|=
PLAYLIST_SKIP_FLAG
;
services_discovery_SetLocalizedName
(
p_sd
,
_
(
"Bonjour"
)
);
p_sd
->
pf_run
=
Run
;
...
...
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