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
e12f10f7
Commit
e12f10f7
authored
May 25, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Destroyed the spu object inside vout_Close.
It avoids a vlc_object_detach.
parent
38ed2e8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
src/video_output/video_output.c
src/video_output/video_output.c
+3
-4
No files found.
src/video_output/video_output.c
View file @
e12f10f7
...
...
@@ -155,6 +155,7 @@ static vout_thread_t *VoutCreate(vlc_object_t *object,
/* */
if
(
vlc_clone
(
&
vout
->
p
->
thread
,
Thread
,
vout
,
VLC_THREAD_PRIORITY_OUTPUT
))
{
spu_Destroy
(
vout
->
p
->
p_spu
);
vlc_object_release
(
vout
);
return
NULL
;
}
...
...
@@ -228,12 +229,13 @@ void vout_Close(vout_thread_t *vout)
if
(
vout
->
p
->
input
)
spu_Attach
(
vout
->
p
->
p_spu
,
vout
->
p
->
input
,
false
);
vlc_object_detach
(
vout
->
p
->
p_spu
);
vout_snapshot_End
(
&
vout
->
p
->
snapshot
);
vout_control_PushVoid
(
&
vout
->
p
->
control
,
VOUT_CONTROL_CLEAN
);
vlc_join
(
vout
->
p
->
thread
,
NULL
);
spu_Destroy
(
vout
->
p
->
p_spu
);
}
/* */
...
...
@@ -246,9 +248,6 @@ static void VoutDestructor(vlc_object_t *object)
free
(
vout
->
p
->
splitter_name
);
/* */
spu_Destroy
(
vout
->
p
->
p_spu
);
/* Destroy the locks */
vlc_mutex_destroy
(
&
vout
->
p
->
picture_lock
);
vlc_mutex_destroy
(
&
vout
->
p
->
vfilter_lock
);
...
...
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