mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-04-27 17:51:27 +08:00
Revert "Merge commit of 'vdpau: remove old-style decoders'"
This reverts commitbf36dc50ea, reversing changes made tob7fc2693c7. Conflicts: libavcodec/h264.c Keeping support for the old VDPAU API has been requested by our VDPAU maintainer Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -854,6 +854,7 @@ void ff_er_frame_end(ERContext *s)
|
||||
if (!s->avctx->err_recognition || s->error_count == 0 ||
|
||||
s->avctx->lowres ||
|
||||
s->avctx->hwaccel ||
|
||||
s->avctx->codec->capabilities&CODEC_CAP_HWACCEL_VDPAU ||
|
||||
!s->cur_pic || s->cur_pic->field_picture ||
|
||||
s->error_count == 3 * s->mb_width *
|
||||
(s->avctx->skip_top + s->avctx->skip_bottom)) {
|
||||
|
||||
Reference in New Issue
Block a user