mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
Use CONFIG_VDPAU as condition for using ff_vdpau_mpeg_picture_complete.
CONFIG_VDPAU is the condition on which ff_vdpau_mpeg_picture_complete is compiled in, so it is more appropriate, particularly since the separate VDPAU decoder should be removed in the longer term.
This commit is contained in:
parent
6e075dcaf8
commit
735c4f0b84
@ -2338,7 +2338,7 @@ static int decode_chunks(AVCodecContext *avctx,
|
||||
s2->error_count += s2->thread_context[i]->error_count;
|
||||
}
|
||||
|
||||
if (CONFIG_MPEG_VDPAU_DECODER && uses_vdpau(avctx))
|
||||
if (CONFIG_VDPAU && uses_vdpau(avctx))
|
||||
ff_vdpau_mpeg_picture_complete(s2, buf, buf_size, s->slice_count);
|
||||
|
||||
if (slice_end(avctx, picture)) {
|
||||
|
Loading…
Reference in New Issue
Block a user