diff options
author | Johns <johns98@gmx.net> | 2012-05-17 16:52:08 +0200 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2012-05-17 16:52:08 +0200 |
commit | 57bbd02c57f59715c1a5469aaff53b5cefcd29d4 (patch) | |
tree | 13d37d799d4f1565b676aba752627b319dc996ac /video.c | |
parent | 940849d03fab3f2eefcf9241ba91446e503e7a8d (diff) | |
download | vdr-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |