Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
65340ca2
Commit
65340ca2
authored
Jun 15, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove VLC_OBJECT_(ACCESS|DEMUX|STREAM) types
parent
1a7f1a44
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
17 deletions
+7
-17
include/vlc_objects.h
include/vlc_objects.h
+0
-3
modules/misc/lua/libs/objects.c
modules/misc/lua/libs/objects.c
+0
-3
src/input/access.c
src/input/access.c
+3
-1
src/input/demux.c
src/input/demux.c
+3
-1
src/input/input_internal.h
src/input/input_internal.h
+1
-1
src/misc/objects.c
src/misc/objects.c
+0
-8
No files found.
include/vlc_objects.h
View file @
65340ca2
...
...
@@ -44,9 +44,6 @@
#define VLC_OBJECT_ENCODER (-14)
#define VLC_OBJECT_DIALOGS (-15)
#define VLC_OBJECT_ANNOUNCE (-17)
#define VLC_OBJECT_DEMUX (-18)
#define VLC_OBJECT_ACCESS (-19)
#define VLC_OBJECT_STREAM (-20)
#define VLC_OBJECT_OPENGL (-21)
#define VLC_OBJECT_FILTER (-22)
#define VLC_OBJECT_OSDMENU (-28)
...
...
modules/misc/lua/libs/objects.c
View file @
65340ca2
...
...
@@ -100,9 +100,6 @@ static int vlc_object_type_from_string( const char *psz_name )
{
VLC_OBJECT_ENCODER
,
"encoder"
},
{
VLC_OBJECT_DIALOGS
,
"dialogs"
},
{
VLC_OBJECT_ANNOUNCE
,
"announce"
},
{
VLC_OBJECT_DEMUX
,
"demux"
},
{
VLC_OBJECT_ACCESS
,
"access"
},
{
VLC_OBJECT_STREAM
,
"stream"
},
{
VLC_OBJECT_OPENGL
,
"opengl"
},
{
VLC_OBJECT_FILTER
,
"filter"
},
{
VLC_OBJECT_OSDMENU
,
"osdmenu"
},
...
...
src/input/access.c
View file @
65340ca2
...
...
@@ -36,7 +36,9 @@ static access_t *access_InternalNew( vlc_object_t *p_obj, const char *psz_access
const
char
*
psz_demux
,
const
char
*
psz_path
,
access_t
*
p_source
)
{
access_t
*
p_access
=
vlc_object_create
(
p_obj
,
VLC_OBJECT_ACCESS
);
static
const
char
typename
[]
=
"access"
;
access_t
*
p_access
=
vlc_custom_create
(
p_obj
,
sizeof
(
*
p_access
),
VLC_OBJECT_GENERIC
,
typename
);
if
(
p_access
==
NULL
)
return
NULL
;
...
...
src/input/demux.c
View file @
65340ca2
...
...
@@ -41,7 +41,9 @@ demux_t *__demux_New( vlc_object_t *p_obj,
const
char
*
psz_path
,
stream_t
*
s
,
es_out_t
*
out
,
bool
b_quick
)
{
demux_t
*
p_demux
=
vlc_object_create
(
p_obj
,
VLC_OBJECT_DEMUX
);
static
const
char
typename
[]
=
"demux"
;
demux_t
*
p_demux
=
vlc_custom_create
(
p_obj
,
sizeof
(
*
p_demux
),
VLC_OBJECT_GENERIC
,
typename
);
const
char
*
psz_module
;
if
(
p_demux
==
NULL
)
return
NULL
;
...
...
src/input/input_internal.h
View file @
65340ca2
...
...
@@ -461,7 +461,7 @@ struct stream_t
static
inline
stream_t
*
vlc_stream_create
(
vlc_object_t
*
obj
)
{
return
(
stream_t
*
)
vlc_custom_create
(
obj
,
sizeof
(
stream_t
),
VLC_OBJECT_
STREAM
,
"stream"
);
VLC_OBJECT_
GENERIC
,
"stream"
);
}
#endif
src/misc/objects.c
View file @
65340ca2
...
...
@@ -238,14 +238,6 @@ void * __vlc_object_create( vlc_object_t *p_this, int i_type )
i_size
=
sizeof
(
intf_thread_t
);
psz_type
=
"dialogs"
;
break
;
case
VLC_OBJECT_DEMUX
:
i_size
=
sizeof
(
demux_t
);
psz_type
=
"demux"
;
break
;
case
VLC_OBJECT_ACCESS
:
i_size
=
sizeof
(
access_t
);
psz_type
=
"access"
;
break
;
case
VLC_OBJECT_DECODER
:
i_size
=
sizeof
(
decoder_t
);
psz_type
=
"decoder"
;
...
...
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