summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--video.c8
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index d57413a..2ae6f09 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,9 @@
User johns
+Date:
+
+ Fix bug: spelling USE_VAPI wrong, missing functions.
+
+User johns
Date: Tue Jul 3 16:35:46 CEST 2012
Release Version 0.5.1
diff --git a/video.c b/video.c
index 41b25ec..1f54bf5 100644
--- a/video.c
+++ b/video.c
@@ -9454,7 +9454,7 @@ void VideoSetClosing(VideoHwDecoder * hw_decoder)
hw_decoder->Vdpau.Closing = 1;
}
#endif
-#ifdef USE_VAPI
+#ifdef USE_VAAPI
if (VideoUsedModule == &VaapiModule) {
hw_decoder->Vaapi.Closing = 1;
}
@@ -9477,7 +9477,7 @@ void VideoResetStart(VideoHwDecoder * hw_decoder)
hw_decoder->Vdpau.StartCounter = 0;
}
#endif
-#ifdef USE_VAPI
+#ifdef USE_VAAPI
if (VideoUsedModule == &VaapiModule) {
hw_decoder->Vaapi.StartCounter = 0;
}
@@ -9663,7 +9663,7 @@ void VideoGetStats(VideoHwDecoder * hw_decoder, int *missed, int *duped,
*counter = hw_decoder->Vdpau.FrameCounter;
}
#endif
-#ifdef USE_VAPI
+#ifdef USE_VAAPI
if (VideoUsedModule == &VaapiModule) {
*missed = hw_decoder->Vaapi.FramesMissed;
*duped = hw_decoder->Vaapi.FramesDuped;
@@ -10004,7 +10004,7 @@ void VideoSetOutputPosition(int x, int y, int width, int height)
VdpauSetOutputPosition(VdpauDecoders[0], x, y, width, height);
}
#endif
-#ifdef USE_VAPI
+#ifdef USE_VAAPI
// FIXME: not supported by vaapi without unscaled OSD,
// FIXME: if used to position video inside osd
#endif