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
bb5a8eb8
Commit
bb5a8eb8
authored
Mar 29, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove SD object type
parent
182f9a35
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
9 deletions
+6
-9
include/vlc_objects.h
include/vlc_objects.h
+2
-2
modules/misc/lua/objects.c
modules/misc/lua/objects.c
+0
-1
src/misc/objects.c
src/misc/objects.c
+1
-5
src/playlist/services_discovery.c
src/playlist/services_discovery.c
+3
-1
No files found.
include/vlc_objects.h
View file @
bb5a8eb8
/*****************************************************************************
* vlc_objects.h: vlc_object_t definition and manipulation methods
*****************************************************************************
* Copyright (C) 2002-200
6
the VideoLAN team
* Copyright (C) 2002-200
8
the VideoLAN team
* $Id$
*
* Authors: Samuel Hocevar <sam@zoy.org>
...
...
@@ -61,7 +61,7 @@
#define VLC_OBJECT_SD (-26)
#define VLC_OBJECT_XML (-27)
#define VLC_OBJECT_OSDMENU (-28)
#define VLC_OBJECT_STATS (-29)
...
...
modules/misc/lua/objects.c
View file @
bb5a8eb8
...
...
@@ -128,7 +128,6 @@ static int vlc_object_type_from_string( const char *psz_name )
{
VLC_OBJECT_STREAM
,
"stream"
},
{
VLC_OBJECT_OPENGL
,
"opengl"
},
{
VLC_OBJECT_FILTER
,
"filter"
},
{
VLC_OBJECT_SD
,
"sd"
},
{
VLC_OBJECT_XML
,
"xml"
},
{
VLC_OBJECT_OSDMENU
,
"osdmenu"
},
{
VLC_OBJECT_HTTPD_HOST
,
"httpd_host"
},
...
...
src/misc/objects.c
View file @
bb5a8eb8
/*****************************************************************************
* objects.c: vlc_object_t handling
*****************************************************************************
* Copyright (C) 2004-200
7
the VideoLAN team
* Copyright (C) 2004-200
8
the VideoLAN team
* $Id$
*
* Authors: Samuel Hocevar <sam@zoy.org>
...
...
@@ -266,10 +266,6 @@ void * __vlc_object_create( vlc_object_t *p_this, int i_type )
i_size
=
sizeof
(
playlist_t
);
psz_type
=
"playlist"
;
break
;
case
VLC_OBJECT_SD
:
i_size
=
sizeof
(
services_discovery_t
);
psz_type
=
"services discovery"
;
break
;
case
VLC_OBJECT_INPUT
:
i_size
=
sizeof
(
input_thread_t
);
psz_type
=
"input"
;
...
...
src/playlist/services_discovery.c
View file @
bb5a8eb8
...
...
@@ -55,7 +55,9 @@ char ** __services_discovery_GetServicesNames( vlc_object_t * p_super,
services_discovery_t
*
services_discovery_Create
(
vlc_object_t
*
p_super
,
const
char
*
psz_module_name
)
{
services_discovery_t
*
p_sd
=
vlc_object_create
(
p_super
,
VLC_OBJECT_SD
);
services_discovery_t
*
p_sd
;
p_sd
=
vlc_custom_create
(
p_super
,
sizeof
(
*
p_sd
),
VLC_OBJECT_GENERIC
,
"services discovery"
);
if
(
!
p_sd
)
return
NULL
;
...
...
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