Commit 0210d306 authored by Rémi Duraffort's avatar Rémi Duraffort

upnp_intel: fix compilation.

parent eb3eab26
...@@ -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 );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment