Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
d4980f0b
Commit
d4980f0b
authored
Oct 16, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed display of first frame after seek while paused.
parent
75f55c27
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/input/decoder.c
src/input/decoder.c
+4
-2
No files found.
src/input/decoder.c
View file @
d4980f0b
...
@@ -1161,6 +1161,7 @@ static void DecoderPlayVideo( decoder_t *p_dec, picture_t *p_picture,
...
@@ -1161,6 +1161,7 @@ static void DecoderPlayVideo( decoder_t *p_dec, picture_t *p_picture,
{
{
decoder_owner_sys_t
*
p_owner
=
p_dec
->
p_owner
;
decoder_owner_sys_t
*
p_owner
=
p_dec
->
p_owner
;
vout_thread_t
*
p_vout
=
p_owner
->
p_vout
;
vout_thread_t
*
p_vout
=
p_owner
->
p_vout
;
bool
b_first_buffered
;
if
(
p_picture
->
date
<=
0
)
if
(
p_picture
->
date
<=
0
)
{
{
...
@@ -1188,8 +1189,9 @@ static void DecoderPlayVideo( decoder_t *p_dec, picture_t *p_picture,
...
@@ -1188,8 +1189,9 @@ static void DecoderPlayVideo( decoder_t *p_dec, picture_t *p_picture,
vlc_cond_signal
(
&
p_owner
->
wait
);
vlc_cond_signal
(
&
p_owner
->
wait
);
}
}
}
}
b_first_buffered
=
p_owner
->
buffer
.
p_picture
!=
NULL
;
for
(
;;
)
for
(
;;
b_first_buffered
=
false
)
{
{
bool
b_has_more
=
false
;
bool
b_has_more
=
false
;
...
@@ -1248,7 +1250,7 @@ static void DecoderPlayVideo( decoder_t *p_dec, picture_t *p_picture,
...
@@ -1248,7 +1250,7 @@ static void DecoderPlayVideo( decoder_t *p_dec, picture_t *p_picture,
if
(
!
b_reject
)
if
(
!
b_reject
)
{
{
if
(
i_rate
!=
p_owner
->
i_last_rate
)
if
(
i_rate
!=
p_owner
->
i_last_rate
||
b_first_buffered
)
{
{
/* Be sure to not display old picture after our own */
/* Be sure to not display old picture after our own */
vout_Flush
(
p_vout
,
p_picture
->
date
);
vout_Flush
(
p_vout
,
p_picture
->
date
);
...
...
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