diff options
author | Johns <johns98@gmx.net> | 2012-01-30 23:09:53 +0100 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2012-01-30 23:09:53 +0100 |
commit | 364cc04736aae34ad7f9e2685e9d54dde87e46ca (patch) | |
tree | a21c733ba430cb6edb805b613755655f56ff0ef3 /video.c | |
parent | ec4a899bb86389a6a85f471f164bea794b25c054 (diff) | |
download | vdr-plugin-softhddevice-364cc04736aae34ad7f9e2685e9d54dde87e46ca.tar.gz vdr-plugin-softhddevice-364cc04736aae34ad7f9e2685e9d54dde87e46ca.tar.bz2 |
Fix bug: Only black picture with VA-API hw decoder.
Diffstat (limited to 'video.c')
-rw-r--r-- | video.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1576,7 +1576,9 @@ static void VaapiCleanup(VaapiDecoder * decoder) VaapiDestroyDeinterlaceImages(decoder); } - decoder->FrameCounter = 0; + decoder->SurfaceField = 1; + + //decoder->FrameCounter = 0; decoder->PTS = AV_NOPTS_VALUE; VideoDeltaPTS = 0; } |