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
5858f0fc
Commit
5858f0fc
authored
Dec 26, 2008
by
Mirsal Ennaime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UPnP services discovery: fix remaining bugs
parent
24d02d8c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
modules/services_discovery/upnp_intel.cpp
modules/services_discovery/upnp_intel.cpp
+3
-4
No files found.
modules/services_discovery/upnp_intel.cpp
View file @
5858f0fc
...
@@ -28,7 +28,6 @@
...
@@ -28,7 +28,6 @@
/*
/*
\TODO: Debug messages: "__FILE__, __LINE__" ok ???, Wrn/Err ???
\TODO: Debug messages: "__FILE__, __LINE__" ok ???, Wrn/Err ???
\TODO: Change names to VLC standard ???
\TODO: Change names to VLC standard ???
\TODO: Rewrite this using the new service discovery API (see sap.c, shout.c).
*/
*/
...
@@ -288,7 +287,8 @@ static int Open( vlc_object_t *p_this )
...
@@ -288,7 +287,8 @@ static int Open( vlc_object_t *p_this )
services_discovery_sys_t
*
p_sys
=
(
services_discovery_sys_t
*
)
services_discovery_sys_t
*
p_sys
=
(
services_discovery_sys_t
*
)
calloc
(
1
,
sizeof
(
services_discovery_sys_t
)
);
calloc
(
1
,
sizeof
(
services_discovery_sys_t
)
);
p_sd
->
p_sys
=
p_sys
;
if
(
!
(
p_sd
->
p_sys
=
p_sys
))
return
VLC_ENOMEM
;
services_discovery_SetLocalizedName
(
p_sd
,
_
(
"UPnP devices"
)
);
services_discovery_SetLocalizedName
(
p_sd
,
_
(
"UPnP devices"
)
);
...
@@ -302,7 +302,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -302,7 +302,7 @@ static int Open( vlc_object_t *p_this )
p_sys
->
serverList
=
new
MediaServerList
(
p_sd
);
p_sys
->
serverList
=
new
MediaServerList
(
p_sd
);
p_sys
->
callbackLock
=
new
Lockable
();
p_sys
->
callbackLock
=
new
Lockable
();
res
=
UpnpRegisterClient
(
Callback
,
p_s
ys
,
&
p_sys
->
clientHandle
);
res
=
UpnpRegisterClient
(
Callback
,
p_s
d
,
&
p_sys
->
clientHandle
);
if
(
res
!=
UPNP_E_SUCCESS
)
if
(
res
!=
UPNP_E_SUCCESS
)
{
{
msg_Err
(
p_sd
,
"%s"
,
UpnpGetErrorMessage
(
res
)
);
msg_Err
(
p_sd
,
"%s"
,
UpnpGetErrorMessage
(
res
)
);
...
@@ -1069,7 +1069,6 @@ bool MediaServerList::addServer( MediaServer* s )
...
@@ -1069,7 +1069,6 @@ bool MediaServerList::addServer( MediaServer* s )
services_discovery_t
*
p_sd
=
_p_sd
;
services_discovery_t
*
p_sd
=
_p_sd
;
p_input_item
=
input_item_New
(
p_sd
,
"vlc://nop"
,
s
->
getFriendlyName
()
);
p_input_item
=
input_item_New
(
p_sd
,
"vlc://nop"
,
s
->
getFriendlyName
()
);
s
->
setInputItem
(
p_input_item
);
s
->
setInputItem
(
p_input_item
);
...
...
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