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
1af6b527
Commit
1af6b527
authored
Jan 25, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correctly unpause the vout for reuse.
It fixes an assert in vout code when a stream was stopped while paused.
parent
0b3f034f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
src/input/decoder.c
src/input/decoder.c
+7
-1
No files found.
src/input/decoder.c
View file @
1af6b527
...
...
@@ -339,6 +339,7 @@ void input_DecoderDelete( decoder_t *p_dec )
/* Make sure we aren't paused/buffering/waiting anymore */
vlc_mutex_lock
(
&
p_owner
->
lock
);
const
b_was_paused
=
p_owner
->
b_paused
;
p_owner
->
b_paused
=
false
;
p_owner
->
b_buffering
=
false
;
p_owner
->
b_flushing
=
true
;
...
...
@@ -346,6 +347,8 @@ void input_DecoderDelete( decoder_t *p_dec )
vlc_mutex_unlock
(
&
p_owner
->
lock
);
vlc_thread_join
(
p_dec
);
p_owner
->
b_paused
=
b_was_paused
;
module_unneed
(
p_dec
,
p_dec
->
p_module
);
/* */
...
...
@@ -2020,8 +2023,11 @@ static void DeleteDecoder( decoder_t * p_dec )
}
if
(
p_owner
->
p_vout
)
{
/* Hack to make sure all the the pictures are freed by the decoder */
/* Hack to make sure all the the pictures are freed by the decoder
* and that the vout is not paused anymore */
vout_FixLeaks
(
p_owner
->
p_vout
,
true
);
if
(
p_owner
->
b_paused
)
vout_ChangePause
(
p_owner
->
p_vout
,
false
,
mdate
()
);
/* */
input_ressource_RequestVout
(
p_owner
->
p_input
->
p
->
p_ressource
,
p_owner
->
p_vout
,
NULL
);
...
...
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