summaryrefslogtreecommitdiff
path: root/video.c
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2012-07-06 00:04:08 +0200
committerJohns <johns98@gmx.net>2012-07-06 00:04:08 +0200
commit2cdce610d656e33f3770ded5d1f6436ebe553fd6 (patch)
tree911805ffb7c1ca04efa4f0bc7781bacc35e3de9f /video.c
parent2d6d151b85a66c08eccdb6891433d1d12b23faee (diff)
downloadvdr-plugin-softhddevice-2cdce610d656e33f3770ded5d1f6436ebe553fd6.tar.gz
vdr-plugin-softhddevice-2cdce610d656e33f3770ded5d1f6436ebe553fd6.tar.bz2
Fix bug: spelling USE_VAPI wrong, missing function.
Diffstat (limited to 'video.c')
-rw-r--r--video.c8
1 files changed, 4 insertions, 4 deletions
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