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
2d7ef1f4
Commit
2d7ef1f4
authored
Jun 28, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vout: use vlc_custom_create
parent
f8fbd684
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
src/misc/objects.c
src/misc/objects.c
+0
-4
src/video_output/video_output.c
src/video_output/video_output.c
+3
-1
No files found.
src/misc/objects.c
View file @
2d7ef1f4
...
@@ -250,10 +250,6 @@ void * __vlc_object_create( vlc_object_t *p_this, int i_type )
...
@@ -250,10 +250,6 @@ void * __vlc_object_create( vlc_object_t *p_this, int i_type )
i_size
=
sizeof
(
filter_t
);
i_size
=
sizeof
(
filter_t
);
psz_type
=
"filter"
;
psz_type
=
"filter"
;
break
;
break
;
case
VLC_OBJECT_VOUT
:
i_size
=
sizeof
(
vout_thread_t
);
psz_type
=
"video output"
;
break
;
case
VLC_OBJECT_AOUT
:
case
VLC_OBJECT_AOUT
:
i_size
=
sizeof
(
aout_instance_t
);
i_size
=
sizeof
(
aout_instance_t
);
psz_type
=
"audio output"
;
psz_type
=
"audio output"
;
...
...
src/video_output/video_output.c
View file @
2d7ef1f4
...
@@ -243,7 +243,9 @@ vout_thread_t * __vout_Create( vlc_object_t *p_parent, video_format_t *p_fmt )
...
@@ -243,7 +243,9 @@ vout_thread_t * __vout_Create( vlc_object_t *p_parent, video_format_t *p_fmt )
char
*
psz_name
;
char
*
psz_name
;
/* Allocate descriptor */
/* Allocate descriptor */
p_vout
=
vlc_object_create
(
p_parent
,
VLC_OBJECT_VOUT
);
static
const
char
typename
[]
=
"video output"
;
p_vout
=
vlc_custom_create
(
p_parent
,
sizeof
(
*
p_vout
),
VLC_OBJECT_VOUT
,
typename
);
if
(
p_vout
==
NULL
)
if
(
p_vout
==
NULL
)
return
NULL
;
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