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
5aa95193
Commit
5aa95193
authored
Jan 10, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove useless parameter
parent
fddf2f47
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
10 additions
and
15 deletions
+10
-15
include/vlc_services_discovery.h
include/vlc_services_discovery.h
+1
-3
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+1
-1
modules/gui/qt4/menus.cpp
modules/gui/qt4/menus.cpp
+1
-2
modules/gui/wxwidgets/dialogs/playlist.cpp
modules/gui/wxwidgets/dialogs/playlist.cpp
+1
-2
modules/misc/lua/libs/sd.c
modules/misc/lua/libs/sd.c
+1
-1
src/libvlccore.sym
src/libvlccore.sym
+1
-1
src/playlist/services_discovery.c
src/playlist/services_discovery.c
+4
-5
No files found.
include/vlc_services_discovery.h
View file @
5aa95193
...
...
@@ -56,9 +56,7 @@ struct services_discovery_t
/* Get the services discovery modules names to use in Create(), in a null
* terminated string array. Array and string must be freed after use. */
VLC_EXPORT
(
char
**
,
__services_discovery_GetServicesNames
,
(
vlc_object_t
*
p_super
,
char
***
pppsz_longnames
)
);
#define services_discovery_GetServicesNames(a,b) \
__services_discovery_GetServicesNames(VLC_OBJECT(a),b)
VLC_EXPORT
(
char
**
,
vlc_sd_GetNames
,
(
char
***
pppsz_longnames
)
);
/* Creation of a service_discovery object */
VLC_EXPORT
(
services_discovery_t
*
,
vlc_sd_Create
,
(
vlc_object_t
*
)
);
...
...
modules/gui/macosx/playlist.m
View file @
5aa95193
...
...
@@ -386,7 +386,7 @@
o_tc_sortColumn
=
nil
;
char
**
ppsz_name
;
char
**
ppsz_services
=
services_discovery_GetServicesNames
(
p_playlist
,
&
ppsz_name
);
char
**
ppsz_services
=
vlc_sd_GetNames
(
&
ppsz_name
);
if
(
!
ppsz_services
)
{
vlc_object_release
(
p_playlist
);
...
...
modules/gui/qt4/menus.cpp
View file @
5aa95193
...
...
@@ -609,8 +609,7 @@ QMenu *QVLCMenu::SDMenu( intf_thread_t *p_intf )
QMenu
*
menu
=
new
QMenu
();
menu
->
setTitle
(
qtr
(
I_PL_SD
)
);
char
**
ppsz_longnames
;
char
**
ppsz_names
=
services_discovery_GetServicesNames
(
p_intf
,
&
ppsz_longnames
);
char
**
ppsz_names
=
vlc_sd_GetNames
(
&
ppsz_longnames
);
if
(
!
ppsz_names
)
return
menu
;
...
...
modules/gui/wxwidgets/dialogs/playlist.cpp
View file @
5aa95193
...
...
@@ -1407,8 +1407,7 @@ wxMenu *Playlist::SDMenu()
p_sd_menu
=
new
wxMenu
;
char
**
ppsz_longnames
;
char
**
ppsz_names
=
services_discovery_GetServicesNames
(
p_playlist
,
&
ppsz_longnames
);
char
**
ppsz_names
=
vlc_sd_GetNames
(
&
ppsz_longnames
);
if
(
!
ppsz_names
)
return
p_sd_menu
;
...
...
modules/misc/lua/libs/sd.c
View file @
5aa95193
...
...
@@ -51,7 +51,7 @@ static int vlclua_sd_get_services_names( lua_State *L )
{
vlc_object_t
*
p_this
=
vlclua_get_this
(
L
);
char
**
ppsz_longnames
;
char
**
ppsz_names
=
services_discovery_GetServicesNames
(
p_this
,
&
ppsz_longnames
);
char
**
ppsz_names
=
vlc_sd_GetNames
(
&
ppsz_longnames
);
if
(
!
ppsz_names
)
return
0
;
...
...
src/libvlccore.sym
View file @
5aa95193
...
...
@@ -319,7 +319,6 @@ secstotimestr
services_discovery_AddItem
services_discovery_EventManager
services_discovery_GetLocalizedName
__services_discovery_GetServicesNames
services_discovery_RemoveItem
sout_AccessOutControl
sout_AccessOutDelete
...
...
@@ -494,6 +493,7 @@ vlc_rand_bytes
vlc_recvmsg
vlc_release
vlc_sd_Create
vlc_sd_GetNames
vlc_sdp_Start
vlc_sd_Start
vlc_sd_Stop
...
...
src/playlist/services_discovery.c
View file @
5aa95193
...
...
@@ -40,11 +40,10 @@
* That's how the playlist get's Service Discovery information
*/
/***********************************************************************
* GetServicesNames
***********************************************************************/
char
**
__services_discovery_GetServicesNames
(
vlc_object_t
*
p_super
,
char
***
pppsz_longnames
)
/**
* Gets the list of available services discovery plugins.
*/
char
**
vlc_sd_GetNames
(
char
***
pppsz_longnames
)
{
return
module_GetModulesNamesForCapability
(
"services_discovery"
,
pppsz_longnames
);
...
...
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