Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
7bd51629
Commit
7bd51629
authored
Oct 10, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prefer new frames over flushed one (vout).
parent
3f7a8904
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
1 deletion
+24
-1
src/video_output/video_output.c
src/video_output/video_output.c
+24
-1
No files found.
src/video_output/video_output.c
View file @
7bd51629
...
...
@@ -908,7 +908,30 @@ static void* RunThread( vlc_object_t *p_this )
}
}
if
(
p_vout
->
p
->
b_paused
&&
p_last_picture
!=
NULL
)
p_picture
=
p_last_picture
;
{
p_picture
=
NULL
;
if
(
p_last_picture
->
date
==
1
)
{
for
(
i_index
=
0
;
i_index
<
I_RENDERPICTURES
;
i_index
++
)
{
picture_t
*
p_pic
=
PP_RENDERPICTURE
[
i_index
];
if
(
p_pic
->
i_status
!=
READY_PICTURE
)
continue
;
if
(
p_pic
->
date
<=
p_last_picture
->
date
&&
p_pic
!=
p_last_picture
)
{
DropPicture
(
p_vout
,
p_pic
);
}
else
if
(
p_pic
->
date
>
p_last_picture
->
date
&&
(
p_picture
==
NULL
||
p_pic
->
date
<
display_date
)
)
{
p_picture
=
p_pic
;
display_date
=
p_picture
->
date
;
}
}
}
if
(
!
p_picture
)
p_picture
=
p_last_picture
;
}
if
(
p_picture
)
{
...
...
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