Fix bug: spelling USE_VAPI wrong, missing function.

This commit is contained in:
Johns 2012-07-06 00:04:08 +02:00
parent 2d6d151b85
commit 2cdce610d6
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
User johns
Date:
Fix bug: spelling USE_VAPI wrong, missing functions.
User johns
Date: Tue Jul 3 16:35:46 CEST 2012

View File

@ -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