mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Don't show black picture during still-pictures.
This commit is contained in:
parent
141eb5cf71
commit
84e8e58c91
4
video.c
4
video.c
@ -7804,9 +7804,11 @@ static void VdpauDisplayFrame(void)
|
||||
// need 1 frame for progressive, 3 frames for interlaced
|
||||
if (filled < 1 + 2 * decoder->Interlaced) {
|
||||
// FIXME: rewrite MixVideo to support less surfaces
|
||||
if (VideoShowBlackPicture || decoder->Closing < -300) {
|
||||
if ((VideoShowBlackPicture && !decoder->TrickSpeed)
|
||||
|| decoder->Closing < -300) {
|
||||
VdpauBlackSurface(decoder);
|
||||
VdpauMessage(3, "video/vdpau: black surface displayed\n");
|
||||
fprintf(stderr, "video/vdpau: black surface displayed\n");
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user