diff options
author | RĂ©mi Denis-Courmont <remi@remlab.net> | 2013-07-25 22:30:17 +0300 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-08-05 11:15:49 +0200 |
commit | 578ea75a9e4ac56e0bbbbe668700be756aa699f8 (patch) | |
tree | 107c54d8a5ea874223b79b3368a0967f8bd9ca86 /libavcodec/mpegvideo.c | |
parent | 488a0fa68973d48e264d54f1722f7afb18afbea7 (diff) | |
download | ffmpeg-578ea75a9e4ac56e0bbbbe668700be756aa699f8.tar.gz |
vdpau: remove old-style decoders
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r-- | libavcodec/mpegvideo.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index c9a425abfa..f0c0ada8d6 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -1688,7 +1688,6 @@ void ff_MPV_frame_end(MpegEncContext *s) ff_xvmc_field_end(s); } else if ((s->er.error_count || s->encoding) && !s->avctx->hwaccel && - !(s->avctx->codec->capabilities & CODEC_CAP_HWACCEL_VDPAU) && s->unrestricted_mv && s->current_picture.reference && !s->intra_only && @@ -2212,7 +2211,6 @@ void ff_draw_horiz_band(AVCodecContext *avctx, DSPContext *dsp, Picture *cur, } if (!avctx->hwaccel && - !(avctx->codec->capabilities & CODEC_CAP_HWACCEL_VDPAU) && draw_edges && cur->reference && !(avctx->flags & CODEC_FLAG_EMU_EDGE)) { |