summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2012-01-30 23:09:53 +0100
committerJohns <johns98@gmx.net>2012-01-30 23:09:53 +0100
commit364cc04736aae34ad7f9e2685e9d54dde87e46ca (patch)
treea21c733ba430cb6edb805b613755655f56ff0ef3
parentec4a899bb86389a6a85f471f164bea794b25c054 (diff)
downloadvdr-plugin-softhddevice-364cc04736aae34ad7f9e2685e9d54dde87e46ca.tar.gz
vdr-plugin-softhddevice-364cc04736aae34ad7f9e2685e9d54dde87e46ca.tar.bz2
Fix bug: Only black picture with VA-API hw decoder.
-rw-r--r--ChangeLog5
-rw-r--r--video.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 54bf0b8..df4eef2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/video.c b/video.c
index 39043be..d10ee86 100644
--- a/video.c
+++ b/video.c
@@ -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;
}