mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Remove warning, when building without vdpau.
This commit is contained in:
parent
12bfab3f10
commit
0c7170989d
4
video.c
4
video.c
@ -5941,6 +5941,7 @@ struct vaapi_context *VideoGetVaapiContext(VideoHwDecoder * decoder)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef USE_VDPAU
|
||||||
///
|
///
|
||||||
/// Draw ffmpeg vdpau render state.
|
/// Draw ffmpeg vdpau render state.
|
||||||
///
|
///
|
||||||
@ -5950,7 +5951,6 @@ struct vaapi_context *VideoGetVaapiContext(VideoHwDecoder * decoder)
|
|||||||
void VideoDrawRenderState(VideoHwDecoder * decoder,
|
void VideoDrawRenderState(VideoHwDecoder * decoder,
|
||||||
struct vdpau_render_state *vrs)
|
struct vdpau_render_state *vrs)
|
||||||
{
|
{
|
||||||
#ifdef USE_VDPAU
|
|
||||||
if (VideoVdpauEnabled) {
|
if (VideoVdpauEnabled) {
|
||||||
VdpStatus status;
|
VdpStatus status;
|
||||||
uint32_t start;
|
uint32_t start;
|
||||||
@ -5973,12 +5973,12 @@ void VideoDrawRenderState(VideoHwDecoder * decoder,
|
|||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
(void)decoder;
|
(void)decoder;
|
||||||
(void)vrs;
|
(void)vrs;
|
||||||
Error(_("video/vdpau: draw render state, without vdpau enabled\n"));
|
Error(_("video/vdpau: draw render state, without vdpau enabled\n"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef USE_VIDEO_THREAD
|
#ifndef USE_VIDEO_THREAD
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user