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
54526620
Commit
54526620
authored
Jul 11, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove VLC_OBJECT_DECODER type
parent
4c1919ec
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
+3
-5
include/vlc_objects.h
include/vlc_objects.h
+0
-1
src/input/decoder.c
src/input/decoder.c
+2
-2
src/input/input.c
src/input/input.c
+1
-2
No files found.
include/vlc_objects.h
View file @
54526620
...
...
@@ -33,7 +33,6 @@
/* Object types */
#define VLC_OBJECT_INPUT (-7)
#define VLC_OBJECT_DECODER (-8)
/* Please add new object types below -34 */
/* Please do not add new object types anyway */
#define VLC_OBJECT_GENERIC (-666)
...
...
src/input/decoder.c
View file @
54526620
...
...
@@ -750,7 +750,7 @@ static decoder_t * CreateDecoder( vlc_object_t *p_parent,
decoder_owner_sys_t
*
p_owner
;
es_format_t
null_es_format
;
p_dec
=
vlc_custom_create
(
p_parent
,
sizeof
(
*
p_dec
),
VLC_OBJECT_
DECODER
,
p_dec
=
vlc_custom_create
(
p_parent
,
sizeof
(
*
p_dec
),
VLC_OBJECT_
GENERIC
,
"decoder"
);
if
(
p_dec
==
NULL
)
return
NULL
;
...
...
@@ -827,7 +827,7 @@ static decoder_t * CreateDecoder( vlc_object_t *p_parent,
{
p_owner
->
p_packetizer
=
vlc_custom_create
(
p_parent
,
sizeof
(
decoder_t
),
VLC_OBJECT_
DECODER
,
"packetizer"
);
VLC_OBJECT_
GENERIC
,
"packetizer"
);
if
(
p_owner
->
p_packetizer
)
{
es_format_Copy
(
&
p_owner
->
p_packetizer
->
fmt_in
,
...
...
src/input/input.c
View file @
54526620
...
...
@@ -296,8 +296,7 @@ static void ObjectKillChildrens( input_thread_t *p_input, vlc_object_t *p_obj )
/* FIXME ObjectKillChildrens seems a very bad idea in fact */
i
=
vlc_internals
(
p_obj
)
->
i_object_type
;
if
(
p_obj
==
VLC_OBJECT
(
p_input
->
p
->
p_sout
)
||
i
==
VLC_OBJECT_DECODER
)
if
(
p_obj
==
VLC_OBJECT
(
p_input
->
p
->
p_sout
)
)
return
;
vlc_object_kill
(
p_obj
);
...
...
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