diff options
author | Johns <johns98@gmx.net> | 2012-10-29 19:29:43 +0100 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2012-10-29 19:29:43 +0100 |
commit | 84e8e58c91f80e93e4f67b1cdc94c5e0b92c0446 (patch) | |
tree | fb8e573c3fd772f490d72adddcb0f1418cd70520 | |
parent | 141eb5cf713de877046a1a671cb1a6ba5f8291d3 (diff) | |
download | vdr-plugin-softhddevice-84e8e58c91f80e93e4f67b1cdc94c5e0b92c0446.tar.gz vdr-plugin-softhddevice-84e8e58c91f80e93e4f67b1cdc94c5e0b92c0446.tar.bz2 |
Don't show black picture during still-pictures.
-rw-r--r-- | video.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; } |