diff options
Diffstat (limited to 'video/decode/vdpau.c')
-rw-r--r-- | video/decode/vdpau.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/video/decode/vdpau.c b/video/decode/vdpau.c index 72e050b9f0..c69465094b 100644 --- a/video/decode/vdpau.c +++ b/video/decode/vdpau.c @@ -79,9 +79,7 @@ static int init(struct lavc_ctx *ctx) }; ctx->hwdec_priv = p; - if (mp_vdpau_handle_preemption(p->mpvdp, &p->preemption_counter) < 1) - return -1; - + mp_vdpau_handle_preemption(p->mpvdp, &p->preemption_counter); return 0; } |