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
674ccb48
Commit
674ccb48
authored
Jun 30, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up spu/filters when a vout module cannot be loaded.
(The clean up path of vout is in a need of more cleaning).
parent
18516cc6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/video_output/video_output.c
src/video_output/video_output.c
+4
-0
No files found.
src/video_output/video_output.c
View file @
674ccb48
...
@@ -395,6 +395,8 @@ vout_thread_t * __vout_Create( vlc_object_t *p_parent, video_format_t *p_fmt )
...
@@ -395,6 +395,8 @@ vout_thread_t * __vout_Create( vlc_object_t *p_parent, video_format_t *p_fmt )
if
(
p_vout
->
p_module
==
NULL
)
if
(
p_vout
->
p_module
==
NULL
)
{
{
msg_Err
(
p_vout
,
"no suitable vout module"
);
msg_Err
(
p_vout
,
"no suitable vout module"
);
// FIXME it's ugly but that's exactly the function that need to be called.
EndThread
(
p_vout
);
vlc_object_detach
(
p_vout
);
vlc_object_detach
(
p_vout
);
vlc_object_release
(
p_vout
);
vlc_object_release
(
p_vout
);
return
NULL
;
return
NULL
;
...
@@ -1214,6 +1216,8 @@ static void EndThread( vout_thread_t *p_vout )
...
@@ -1214,6 +1216,8 @@ static void EndThread( vout_thread_t *p_vout )
}
}
#endif
#endif
/* FIXME does that function *really* need to be called inside the thread ? */
/* Destroy subpicture unit */
/* Destroy subpicture unit */
spu_Attach
(
p_vout
->
p_spu
,
VLC_OBJECT
(
p_vout
),
false
);
spu_Attach
(
p_vout
->
p_spu
,
VLC_OBJECT
(
p_vout
),
false
);
spu_Destroy
(
p_vout
->
p_spu
);
spu_Destroy
(
p_vout
->
p_spu
);
...
...
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