Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
77bea349
Commit
77bea349
authored
May 07, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UPnP_Intel: yield the playlist
(Could someone please review these commit)
parent
85a8d070
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
modules/services_discovery/upnp_intel.cpp
modules/services_discovery/upnp_intel.cpp
+7
-1
No files found.
modules/services_discovery/upnp_intel.cpp
View file @
77bea349
...
...
@@ -50,6 +50,7 @@
struct
services_discovery_sys_t
{
playlist_t
*
p_playlist
;
playlist_item_t
*
p_node_cat
;
playlist_item_t
*
p_node_one
;
};
...
...
@@ -254,6 +255,10 @@ private:
static
int
Open
(
vlc_object_t
*
);
static
void
Close
(
vlc_object_t
*
);
static
void
Run
(
services_discovery_t
*
p_sd
);
static
playlist_t
*
pl_Get
(
service_discovery_t
*
p_sd
)
{
return
p_sd
->
p_sys
->
p_playlist
;
}
// Module descriptor
...
...
@@ -286,6 +291,7 @@ static int Open( vlc_object_t *p_this )
p_sd
->
pf_run
=
Run
;
p_sd
->
p_sys
=
p_sys
;
p_sys
->
p_playlist
=
pl_Yield
(
p_sd
);
/* Create our playlist node */
playlist_NodesPairCreate
(
pl_Get
(
p_sd
),
_
(
"Devices"
),
...
...
@@ -304,7 +310,7 @@ static void Close( vlc_object_t *p_this )
true
);
playlist_NodeDelete
(
pl_Get
(
p_sd
),
p_sys
->
p_node_cat
,
true
,
true
);
pl_Release
(
p_intf
);
free
(
p_sys
);
}
...
...
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