• wm4's avatar
    lavc: vdpau: add support for new hw_frames_ctx and hw_device_ctx API · 1a7ddba5
    wm4 authored
    This supports retrieving the device from a provided hw_frames_ctx, and
    automatically creating a hw_frames_ctx if hw_device_ctx is set.
    
    The old API is not deprecated yet. The user can still use
    av_vdpau_bind_context() (with or without setting hw_frames_ctx), or use
    the API before that by allocating and setting hwaccel_context manually.
    1a7ddba5
vdpau_internal.h 3.27 KB