Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
2c036cf3
Commit
2c036cf3
authored
Oct 21, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Bonjour discovery
parent
fca47616
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
modules/services_discovery/bonjour.c
modules/services_discovery/bonjour.c
+11
-3
No files found.
modules/services_discovery/bonjour.c
View file @
2c036cf3
...
...
@@ -308,9 +308,17 @@ static int Open( vlc_object_t *p_this )
goto
error
;
}
playlist_NodesCreate
(
p_sys
->
p_playlist
,
_
(
"Bonjour"
),
&
p_sys
->
p_node_cat
,
&
p_sys
->
p_node_one
,
VLC_TRUE
);
p_sys
->
p_node_cat
=
playlist_NodeCreate
(
p_sys
->
p_playlist
,
_
(
"Bonjour"
),
p_sys
->
p_playlist
->
p_root_category
);
p_sys
->
p_node_one
=
playlist_NodeCreate
(
p_sys
->
p_playlist
,
_
(
"Bonjour"
),
p_sys
->
p_playlist
->
p_root_onelevel
);
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
;
p_sd
->
pf_run
=
Run
;
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