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
7bfa775b
Commit
7bfa775b
authored
May 19, 2002
by
Stéphane Borel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*Mark subpictures destroyed when we end spudec thread.
parent
694cce71
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletion
+20
-1
plugins/spudec/spu_decoder.c
plugins/spudec/spu_decoder.c
+20
-1
No files found.
plugins/spudec/spu_decoder.c
View file @
7bfa775b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* spu_decoder.c : spu decoder thread
* spu_decoder.c : spu decoder thread
*****************************************************************************
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* Copyright (C) 2000-2001 VideoLAN
* $Id: spu_decoder.c,v 1.2
1 2002/05/18 14:03:13 gbazin
Exp $
* $Id: spu_decoder.c,v 1.2
2 2002/05/19 01:07:13 stef
Exp $
*
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Authors: Samuel Hocevar <sam@zoy.org>
* Rudolf Cornelissen <rag.cornelissen@inter.nl.net>
* Rudolf Cornelissen <rag.cornelissen@inter.nl.net>
...
@@ -211,6 +211,25 @@ static int InitThread( spudec_thread_t *p_spudec )
...
@@ -211,6 +211,25 @@ static int InitThread( spudec_thread_t *p_spudec )
*****************************************************************************/
*****************************************************************************/
static
void
EndThread
(
spudec_thread_t
*
p_spudec
)
static
void
EndThread
(
spudec_thread_t
*
p_spudec
)
{
{
if
(
p_spudec
->
p_vout
!=
NULL
&&
p_spudec
->
p_vout
->
p_subpicture
!=
NULL
)
{
subpicture_t
*
p_subpic
;
int
i_subpic
;
for
(
i_subpic
=
0
;
i_subpic
<
VOUT_MAX_SUBPICTURES
;
i_subpic
++
)
{
p_subpic
=
&
p_spudec
->
p_vout
->
p_subpicture
[
i_subpic
];
if
(
p_subpic
!=
NULL
&&
(
(
p_subpic
->
i_status
==
RESERVED_SUBPICTURE
)
||
(
p_subpic
->
i_status
==
READY_SUBPICTURE
)
)
)
{
vout_DestroySubPicture
(
p_spudec
->
p_vout
,
p_subpic
);
}
}
}
free
(
p_spudec
);
free
(
p_spudec
);
}
}
...
...
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