summaryrefslogtreecommitdiff
path: root/video.c
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2012-05-17 16:52:08 +0200
committerJohns <johns98@gmx.net>2012-05-17 16:52:08 +0200
commit57bbd02c57f59715c1a5469aaff53b5cefcd29d4 (patch)
tree13d37d799d4f1565b676aba752627b319dc996ac /video.c
parent940849d03fab3f2eefcf9241ba91446e503e7a8d (diff)
downloadvdr-plugin-softhddevice-57bbd02c57f59715c1a5469aaff53b5cefcd29d4.tar.gz
vdr-plugin-softhddevice-57bbd02c57f59715c1a5469aaff53b5cefcd29d4.tar.bz2
Fix bug: Black screen is sometimes not shown.
Diffstat (limited to 'video.c')
-rw-r--r--video.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/video.c b/video.c
index 31db899..6e81c58 100644
--- a/video.c
+++ b/video.c
@@ -4533,7 +4533,7 @@ static void VaapiSyncDecoder(VaapiDecoder * decoder)
"duping frame (%d/%d) %d v-buf\n"), decoder->FramesDuped,
decoder->FrameCounter, VideoGetBuffers());
if (decoder->Closing < -300) {
- atomic_set(&decoder->SurfacesFilled, 1);
+ atomic_set(&decoder->SurfacesFilled, 0);
}
}
goto out;
@@ -7868,7 +7868,7 @@ static void VdpauSyncDecoder(VdpauDecoder * decoder)
"duping frame (%d/%d) %d v-buf\n"), decoder->FramesDuped,
decoder->FrameCounter, VideoGetBuffers());
if (decoder->Closing < -300) {
- atomic_set(&decoder->SurfacesFilled, 1);
+ atomic_set(&decoder->SurfacesFilled, 0);
}
}
goto out;