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 | |
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.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | video.c | 4 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,8 @@ +User johns +Date: + + Fix bug: Nur schwarzes Bild bei VA-API hw decoder. + User HelAu Date: Mon Jan 30 16:54:47 CET 2012 @@ -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; } |