Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
0210d306
Commit
0210d306
authored
Aug 29, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
upnp_intel: fix compilation.
parent
eb3eab26
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
10 deletions
+16
-10
modules/services_discovery/upnp_intel.cpp
modules/services_discovery/upnp_intel.cpp
+16
-10
No files found.
modules/services_discovery/upnp_intel.cpp
View file @
0210d306
...
@@ -260,6 +260,19 @@ private:
...
@@ -260,6 +260,19 @@ private:
};
};
// VLC handle
struct
services_discovery_sys_t
{
playlist_t
*
p_playlist
;
playlist_item_t
*
p_node_cat
;
playlist_item_t
*
p_node_one
;
Cookie
cookie
;
};
// VLC callback prototypes
// VLC callback prototypes
static
playlist_t
*
pl_Get
(
services_discovery_t
*
p_sd
)
static
playlist_t
*
pl_Get
(
services_discovery_t
*
p_sd
)
...
@@ -267,6 +280,8 @@ static playlist_t *pl_Get( services_discovery_t *p_sd )
...
@@ -267,6 +280,8 @@ static playlist_t *pl_Get( services_discovery_t *p_sd )
return
p_sd
->
p_sys
->
p_playlist
;
return
p_sd
->
p_sys
->
p_playlist
;
}
}
// More prototypes...
// More prototypes...
static
int
Callback
(
Upnp_EventType
eventType
,
void
*
event
,
void
*
pCookie
);
static
int
Callback
(
Upnp_EventType
eventType
,
void
*
event
,
void
*
pCookie
);
...
@@ -276,16 +291,6 @@ IXML_Document* parseBrowseResult( IXML_Document* doc );
...
@@ -276,16 +291,6 @@ IXML_Document* parseBrowseResult( IXML_Document* doc );
// VLC handle
struct
services_discovery_sys_t
{
playlist_t
*
p_playlist
;
playlist_item_t
*
p_node_cat
;
playlist_item_t
*
p_node_one
;
Cookie
cookie
;
};
// VLC callbacks...
// VLC callbacks...
static
int
Open
(
vlc_object_t
*
p_this
)
static
int
Open
(
vlc_object_t
*
p_this
)
...
@@ -296,6 +301,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -296,6 +301,7 @@ static int Open( vlc_object_t *p_this )
p_sd
->
p_sys
=
p_sys
;
p_sd
->
p_sys
=
p_sys
;
p_sys
->
p_playlist
=
pl_Yield
(
p_sd
);
p_sys
->
p_playlist
=
pl_Yield
(
p_sd
);
Cookie
cookie
=
p_sys
->
cookie
;
/* Create our playlist node */
/* Create our playlist node */
vlc_object_lock
(
p_sys
->
p_playlist
);
vlc_object_lock
(
p_sys
->
p_playlist
);
...
...
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