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
fc2955ef
Commit
fc2955ef
authored
Feb 13, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Flush all subtitles when recycling a vout.
parent
d66d8f7d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
src/input/decoder
src/input/decoder
+0
-0
src/input/ressource.c
src/input/ressource.c
+3
-0
src/video_output/vout_subpictures.c
src/video_output/vout_subpictures.c
+3
-1
No files found.
src/input/decoder
deleted
100644 → 0
View file @
d66d8f7d
src/input/ressource.c
View file @
fc2955ef
...
...
@@ -30,6 +30,7 @@
#include <vlc_common.h>
#include <vlc_vout.h>
#include <vlc_osd.h>
#include <vlc_aout.h>
#include <vlc_sout.h>
#include "../libvlc.h"
...
...
@@ -243,6 +244,8 @@ static vout_thread_t *RequestVout( input_ressource_t *p_ressource,
{
msg_Dbg
(
p_ressource
->
p_input
,
"saving a free vout"
);
vout_Flush
(
p_vout
,
1
);
spu_Control
(
p_vout
->
p_spu
,
SPU_CHANNEL_CLEAR
,
-
1
);
p_ressource
->
p_vout_free
=
p_vout
;
}
return
NULL
;
...
...
src/video_output/vout_subpictures.c
View file @
fc2955ef
...
...
@@ -1675,7 +1675,9 @@ static void SpuClearChannel( spu_t *p_spu, int i_channel )
spu_heap_entry_t
*
p_entry
=
&
p_sys
->
heap
.
p_entry
[
i_subpic
];
subpicture_t
*
p_subpic
=
p_entry
->
p_subpicture
;
if
(
!
p_subpic
||
p_subpic
->
i_channel
!=
i_channel
)
if
(
!
p_subpic
)
continue
;
if
(
p_subpic
->
i_channel
!=
i_channel
&&
(
i_channel
!=
-
1
||
p_subpic
->
i_channel
==
DEFAULT_CHAN
)
)
continue
;
/* You cannot delete subpicture outside of spu_SortSubpictures */
...
...
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