mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-25 00:10:00 +01:00
vdpau: remove old-style decoders
Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
committed by
Anton Khirnov
parent
488a0fa689
commit
578ea75a9e
@@ -2278,21 +2278,3 @@ AVCodec ff_mpeg4_decoder = {
|
||||
.profiles = NULL_IF_CONFIG_SMALL(mpeg4_video_profiles),
|
||||
.update_thread_context = ONLY_IF_THREADS_ENABLED(ff_mpeg_update_thread_context),
|
||||
};
|
||||
|
||||
|
||||
#if CONFIG_MPEG4_VDPAU_DECODER
|
||||
AVCodec ff_mpeg4_vdpau_decoder = {
|
||||
.name = "mpeg4_vdpau",
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
.id = AV_CODEC_ID_MPEG4,
|
||||
.priv_data_size = sizeof(MpegEncContext),
|
||||
.init = decode_init,
|
||||
.close = ff_h263_decode_end,
|
||||
.decode = ff_h263_decode_frame,
|
||||
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY |
|
||||
CODEC_CAP_HWACCEL_VDPAU,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("MPEG-4 part 2 (VDPAU)"),
|
||||
.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_VDPAU_MPEG4,
|
||||
AV_PIX_FMT_NONE },
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user