Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
0b32594e
Commit
0b32594e
authored
Feb 13, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spu_Create: attach object before calling var_Inherit
parent
a7516f02
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
src/video_output/vout_subpictures.c
src/video_output/vout_subpictures.c
+1
-3
No files found.
src/video_output/vout_subpictures.c
View file @
0b32594e
...
@@ -198,9 +198,9 @@ spu_t *spu_Create( vlc_object_t *p_this )
...
@@ -198,9 +198,9 @@ spu_t *spu_Create( vlc_object_t *p_this )
p_spu
=
vlc_custom_create
(
p_this
,
sizeof
(
spu_t
)
+
sizeof
(
spu_private_t
),
p_spu
=
vlc_custom_create
(
p_this
,
sizeof
(
spu_t
)
+
sizeof
(
spu_private_t
),
VLC_OBJECT_GENERIC
,
"subpicture"
);
VLC_OBJECT_GENERIC
,
"subpicture"
);
if
(
!
p_spu
)
if
(
!
p_spu
)
return
NULL
;
return
NULL
;
vlc_object_attach
(
p_spu
,
p_this
);
/* Initialize spu fields */
/* Initialize spu fields */
p_spu
->
pf_control
=
SpuControl
;
p_spu
->
pf_control
=
SpuControl
;
...
@@ -221,8 +221,6 @@ spu_t *spu_Create( vlc_object_t *p_this )
...
@@ -221,8 +221,6 @@ spu_t *spu_Create( vlc_object_t *p_this )
/* Register the default subpicture channel */
/* Register the default subpicture channel */
p_sys
->
i_channel
=
2
;
p_sys
->
i_channel
=
2
;
vlc_object_attach
(
p_spu
,
p_this
);
p_sys
->
psz_chain_update
=
NULL
;
p_sys
->
psz_chain_update
=
NULL
;
p_sys
->
p_chain
=
filter_chain_New
(
p_spu
,
"sub filter"
,
false
,
p_sys
->
p_chain
=
filter_chain_New
(
p_spu
,
"sub filter"
,
false
,
SubFilterAllocationInit
,
SubFilterAllocationInit
,
...
...
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