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
a996e2ca
Commit
a996e2ca
authored
Oct 21, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Flush audio/subtitle in next frame.
parent
f144379a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
src/input/decoder.c
src/input/decoder.c
+12
-6
No files found.
src/input/decoder.c
View file @
a996e2ca
...
...
@@ -538,15 +538,21 @@ void input_DecoderFrameNext( decoder_t *p_dec, mtime_t *pi_duration )
decoder_owner_sys_t
*
p_owner
=
p_dec
->
p_owner
;
*
pi_duration
=
0
;
if
(
p_dec
->
fmt_in
.
i_cat
!=
VIDEO_ES
)
return
;
vlc_mutex_lock
(
&
p_owner
->
lock
);
if
(
p_
owner
->
b_paused
&&
p_owner
->
p_vout
)
if
(
p_
dec
->
fmt_in
.
i_cat
==
VIDEO_ES
)
{
vout_NextPicture
(
p_owner
->
p_vout
,
pi_duration
);
p_owner
->
pause
.
i_ignore
++
;
vlc_cond_signal
(
&
p_owner
->
wait
);
if
(
p_owner
->
b_paused
&&
p_owner
->
p_vout
)
{
vout_NextPicture
(
p_owner
->
p_vout
,
pi_duration
);
p_owner
->
pause
.
i_ignore
++
;
vlc_cond_signal
(
&
p_owner
->
wait
);
}
}
else
{
/* TODO subtitle should not be flushed */
DecoderFlush
(
p_dec
);
}
vlc_mutex_unlock
(
&
p_owner
->
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