diff options
author | 2015-05-28 21:54:02 +0200 | |
---|---|---|
committer | 2015-05-28 21:54:02 +0200 | |
commit | e632e37ab8e9865ab12423868dc5f2c26e425be3 (patch) | |
tree | c2df9e38eca487dffcdc2ed59312e31432d08028 /video/out/gl_hwdec_vdpau.c | |
parent | 939132cbd9d13e4f271b4ec3652598d793523374 (diff) |
vdpau: retrieve mixer parameters directly from the hw surface
Always configure the vdpau mixer based on the current surface sent to
it. Before this, we just hardcoded the chroma type, and the surface size
was essentially a guess.
Calling VdpVideoSurfaceGetParameters() on every surface is a bit
suspicious, but it appears it's a cheap function (just requiring some
locks and a table lookup). This way we avoid creating another
complicated mechanism to carry around the actual surface parameters
with a mp_image/AVFrame.
Diffstat (limited to 'video/out/gl_hwdec_vdpau.c')
0 files changed, 0 insertions, 0 deletions