diff options
author | Thomas Hellstrom <[email protected]> | 2016-03-03 09:25:44 +0100 |
---|---|---|
committer | Thomas Hellstrom <[email protected]> | 2017-02-24 16:44:33 +0100 |
commit | 3a418322ec6d540b1334f42688839aefb5d88d6d (patch) | |
tree | 803c0fe0488406a45ed151f0abee4cf6af5d7e8a /src/compiler | |
parent | 5398d006de3d2bd668e3fc4b80a3de0c101a3e43 (diff) |
st/vdpau: Provide YV12 to NV12 putBits conversion v2
mplayer likes putting YV12 data, and if there is a buffer format mismatch,
the vdpau state tracker would try to reallocate the video surface as an
YV12 surface. A virtual driver doesn't like reallocating and doesn't like YV12
surfaces, so if we can't support YV12, try an YV12 to NV12 conversion
instead.
Also advertize that we actually can do the getBits and putBits conversion.
v2: A previous version of this patch prioritized conversion before
reallocating. This has been changed to prioritize reallocating in this version.
Cc: Christian König <[email protected]>
Acked-by: Christian König <[email protected]>
Signed-off-by: Thomas Hellstrom <[email protected]>
Diffstat (limited to 'src/compiler')
0 files changed, 0 insertions, 0 deletions