mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-21 14:26:59 +00:00
avcodec/vdpau.h: define FF_API_CAP_VDPAU if its not defined
Prevent build failure for applicatins using the old API This could be replaced be a include of version.h but some applications would then need extern C wrapers Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
3b805dcaa9
commit
50fb8c1114
@ -53,6 +53,10 @@
|
|||||||
#include <vdpau/vdpau_x11.h>
|
#include <vdpau/vdpau_x11.h>
|
||||||
#include "libavutil/avconfig.h"
|
#include "libavutil/avconfig.h"
|
||||||
|
|
||||||
|
#ifndef FF_API_CAP_VDPAU
|
||||||
|
#define FF_API_CAP_VDPAU 1
|
||||||
|
#endif
|
||||||
|
|
||||||
union AVVDPAUPictureInfo {
|
union AVVDPAUPictureInfo {
|
||||||
VdpPictureInfoH264 h264;
|
VdpPictureInfoH264 h264;
|
||||||
VdpPictureInfoMPEG1Or2 mpeg;
|
VdpPictureInfoMPEG1Or2 mpeg;
|
||||||
|
Loading…
Reference in New Issue
Block a user