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
350b1052
Commit
350b1052
authored
Feb 24, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "sd: Export internals with a getters."
This reverts commit
027b4402
.
parent
10c43ff0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
23 deletions
+4
-23
include/vlc_services_discovery.h
include/vlc_services_discovery.h
+0
-2
modules/misc/lua/services_discovery.c
modules/misc/lua/services_discovery.c
+4
-5
src/libvlccore.sym
src/libvlccore.sym
+0
-2
src/playlist/services_discovery.c
src/playlist/services_discovery.c
+0
-14
No files found.
include/vlc_services_discovery.h
View file @
350b1052
...
@@ -71,8 +71,6 @@ VLC_EXPORT( services_discovery_t *, vlc_sd_Create, ( vlc_object_t *, const char
...
@@ -71,8 +71,6 @@ VLC_EXPORT( services_discovery_t *, vlc_sd_Create, ( vlc_object_t *, const char
VLC_EXPORT
(
bool
,
vlc_sd_Start
,
(
services_discovery_t
*
)
);
VLC_EXPORT
(
bool
,
vlc_sd_Start
,
(
services_discovery_t
*
)
);
VLC_EXPORT
(
void
,
vlc_sd_Stop
,
(
services_discovery_t
*
)
);
VLC_EXPORT
(
void
,
vlc_sd_Stop
,
(
services_discovery_t
*
)
);
VLC_EXPORT
(
void
,
vlc_sd_Destroy
,
(
services_discovery_t
*
)
);
VLC_EXPORT
(
void
,
vlc_sd_Destroy
,
(
services_discovery_t
*
)
);
VLC_EXPORT
(
const
char
*
,
vlc_sd_GetName
,
(
services_discovery_t
*
)
);
VLC_EXPORT
(
config_chain_t
*
,
vlc_sd_GetConfigChain
,
(
services_discovery_t
*
)
);
static
inline
void
vlc_sd_StopAndDestroy
(
services_discovery_t
*
p_this
)
static
inline
void
vlc_sd_StopAndDestroy
(
services_discovery_t
*
p_this
)
{
{
...
...
modules/misc/lua/services_discovery.c
View file @
350b1052
...
@@ -57,21 +57,20 @@ int Open_LuaSD( vlc_object_t *p_this )
...
@@ -57,21 +57,20 @@ int Open_LuaSD( vlc_object_t *p_this )
services_discovery_t
*
p_sd
=
(
services_discovery_t
*
)
p_this
;
services_discovery_t
*
p_sd
=
(
services_discovery_t
*
)
p_this
;
services_discovery_sys_t
*
p_sys
;
services_discovery_sys_t
*
p_sys
;
lua_State
*
L
=
NULL
;
lua_State
*
L
=
NULL
;
char
*
psz_name
;
char
*
psz_name
=
strdup
(
p_sd
->
psz_name
)
;
if
(
!
strcmp
(
p_sd
->
psz_name
,
"lua"
))
if
(
!
strcmp
(
vlc_sd_GetName
(
p_sd
),
"lua"
))
{
{
// We want to load the module name "lua"
// We want to load the module name "lua"
// This module can be used to load lua script not registered
// This module can be used to load lua script not registered
// as builtin lua SD modules.
// as builtin lua SD modules.
config_ChainParse
(
p_sd
,
"lua-"
,
ppsz_sd_options
,
vlc_sd_GetConfigChain
(
p_sd
)
);
config_ChainParse
(
p_sd
,
"lua-"
,
ppsz_sd_options
,
p_sd
->
p_cfg
);
psz_name
=
var_CreateGetString
(
p_sd
,
"lua-sd"
);
psz_name
=
var_CreateGetString
(
p_sd
,
"lua-sd"
);
}
}
else
else
{
{
// We are loading a builtin lua sd module.
// We are loading a builtin lua sd module.
psz_name
=
strdup
(
vlc_sd_GetName
(
p_sd
)
);
psz_name
=
strdup
(
p_sd
->
psz_name
);
}
}
if
(
!
(
p_sys
=
malloc
(
sizeof
(
services_discovery_sys_t
)
)
)
)
if
(
!
(
p_sys
=
malloc
(
sizeof
(
services_discovery_sys_t
)
)
)
)
...
...
src/libvlccore.sym
View file @
350b1052
...
@@ -563,8 +563,6 @@ vlc_rwlock_wrlock
...
@@ -563,8 +563,6 @@ vlc_rwlock_wrlock
vlc_savecancel
vlc_savecancel
vlc_sd_Create
vlc_sd_Create
vlc_sd_Destroy
vlc_sd_Destroy
vlc_sd_GetConfigChain
vlc_sd_GetName
vlc_sd_GetNames
vlc_sd_GetNames
vlc_sd_probe_Add
vlc_sd_probe_Add
vlc_sdp_Start
vlc_sdp_Start
...
...
src/playlist/services_discovery.c
View file @
350b1052
...
@@ -185,20 +185,6 @@ void vlc_sd_Destroy( services_discovery_t *p_sd )
...
@@ -185,20 +185,6 @@ void vlc_sd_Destroy( services_discovery_t *p_sd )
vlc_object_release
(
p_sd
);
vlc_object_release
(
p_sd
);
}
}
/***********************************************************************
* Getters
***********************************************************************/
const
char
*
vlc_sd_GetName
(
services_discovery_t
*
p_sd
)
{
return
p_sd
->
p
->
psz_name
;
}
config_chain_t
*
vlc_sd_GetConfigChain
(
services_discovery_t
*
p_sd
)
{
return
p_sd
->
p
->
p_cfg
;
}
/***********************************************************************
/***********************************************************************
* Destructor
* Destructor
***********************************************************************/
***********************************************************************/
...
...
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