summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}