Permalink
Browse files

vaapi: drop "preserved" attribute (FIXUP c734a0b).

  • Loading branch information...
1 parent 6974fa0 commit 26f9612836756cf1612318c4c06347c958732ef3 @gbeauchesne committed Aug 20, 2012
Showing with 1 addition and 7 deletions.
  1. +1 −7 xbmc/cores/dvdplayer/DVDCodecs/Video/VAAPI.cpp
@@ -700,14 +700,8 @@ bool CSurfaceEGLPixmap::Upload(CSurfacePtr surface, unsigned int flags)
if (!egl_vtable)
return false;
- static const EGLint attribs[] =
- {
- EGL_IMAGE_PRESERVED_KHR, EGL_TRUE,
- EGL_NONE
- };
-
m_images[0] = egl_vtable->create_image(m_eglDisplay, EGL_NO_CONTEXT,
- EGL_NATIVE_PIXMAP_KHR, (EGLClientBuffer)m_pixmap, attribs);
+ EGL_NATIVE_PIXMAP_KHR, (EGLClientBuffer)m_pixmap, NULL);
if (!m_images[0])
{
CLog::Log(LOGERROR, "VAAPI - EGL: failed to create EGLImage from pixmap");

0 comments on commit 26f9612

Please sign in to comment.