summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorJulien Isorce <[email protected]>2015-10-30 11:42:45 +0000
committerChristian König <[email protected]>2015-10-30 13:19:47 +0100
commitd42029d2d9bc6b65ccf847dc9ba2e70b496d0299 (patch)
tree7b7ba19e345dda95e81472fb67722fa675add9be /src/util
parent87109e5f88131b78232e42c8fe246002867fb247 (diff)
st/va: do not destroy old buffer when new one failed
If formats are not the same vlVaPutImage re-creates the video buffer with the right format. But if the creation of this new video buffer fails then the surface looses its current buffer. Let's just destroy the previous buffer on success. Signed-off-by: Julien Isorce <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/util')
0 files changed, 0 insertions, 0 deletions