mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
lavc: fix profile declarations for vdpau decoders
This commit is contained in:
parent
1e96b151fa
commit
42ff56e362
@ -2004,7 +2004,7 @@ AVCodec ff_h264_vdpau_decoder = {
|
||||
.flush = flush_dpb,
|
||||
.pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_VDPAU_H264,
|
||||
AV_PIX_FMT_NONE},
|
||||
.profiles = NULL_IF_CONFIG_SMALL(profiles),
|
||||
.profiles = NULL_IF_CONFIG_SMALL(ff_h264_profiles),
|
||||
.priv_class = &h264_vdpau_class,
|
||||
};
|
||||
#endif
|
||||
|
@ -1165,7 +1165,7 @@ AVCodec ff_wmv3_vdpau_decoder = {
|
||||
.decode = vc1_decode_frame,
|
||||
.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY | AV_CODEC_CAP_HWACCEL_VDPAU,
|
||||
.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_VDPAU_WMV3, AV_PIX_FMT_NONE },
|
||||
.profiles = NULL_IF_CONFIG_SMALL(profiles)
|
||||
.profiles = NULL_IF_CONFIG_SMALL(ff_vc1_profiles)
|
||||
};
|
||||
#endif
|
||||
|
||||
@ -1181,7 +1181,7 @@ AVCodec ff_vc1_vdpau_decoder = {
|
||||
.decode = vc1_decode_frame,
|
||||
.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY | AV_CODEC_CAP_HWACCEL_VDPAU,
|
||||
.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_VDPAU_VC1, AV_PIX_FMT_NONE },
|
||||
.profiles = NULL_IF_CONFIG_SMALL(profiles)
|
||||
.profiles = NULL_IF_CONFIG_SMALL(ff_vc1_profiles)
|
||||
};
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user