Skip to content
Snippets Groups Projects
Commit 7e4ba776 authored by wm4's avatar wm4
Browse files

lavc: vdpau: Add support for new hw_frames_ctx and hw_device_ctx API


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.

Cherry-picked from Libav commit 1a7ddba5.
(Adds missing APIchanges entry to the Libav version.)

Reviewed-by: default avatarMark Thompson <sw@jkqxz.net>
parent 156bd827
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment