summaryrefslogtreecommitdiff
path: root/gst-libs/gst
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2016-01-29 12:45:57 +1100
committerMatthew Waters <matthew@centricular.com>2016-01-29 12:45:57 +1100
commit406fe903317e9fe5b292054d46ddc5586bf0eb0e (patch)
tree87e8b781f70340c223dacf3291e449dd4fc4e1f4 /gst-libs/gst
parent49199b03ac6598d1a56927c36ac32234ecc66a1a (diff)
downloadgstreamer-plugins-bad-406fe903317e9fe5b292054d46ddc5586bf0eb0e.tar.gz
glcontext: back out unintended lost_context changes
Diffstat (limited to 'gst-libs/gst')
-rw-r--r--gst-libs/gst/gl/egl/gstglcontext_egl.c8
-rw-r--r--gst-libs/gst/gl/gstglcontext.c6
2 files changed, 1 insertions, 13 deletions
diff --git a/gst-libs/gst/gl/egl/gstglcontext_egl.c b/gst-libs/gst/gl/egl/gstglcontext_egl.c
index c5887031a..ce8d8f589 100644
--- a/gst-libs/gst/gl/egl/gstglcontext_egl.c
+++ b/gst-libs/gst/gl/egl/gstglcontext_egl.c
@@ -720,13 +720,7 @@ gst_gl_context_egl_swap_buffers (GstGLContext * context)
egl = GST_GL_CONTEXT_EGL (context);
- if (!eglSwapBuffers (egl->egl_display, egl->egl_surface)) {
- EGLint err = eglGetError ();
-
- if (err == EGL_CONTEXT_LOST) {
- gst_gl_context_lost_context (context);
- }
- }
+ eglSwapBuffers (egl->egl_display, egl->egl_surface);
}
static GstGLAPI
diff --git a/gst-libs/gst/gl/gstglcontext.c b/gst-libs/gst/gl/gstglcontext.c
index bd6b5885e..f103146b8 100644
--- a/gst-libs/gst/gl/gstglcontext.c
+++ b/gst-libs/gst/gl/gstglcontext.c
@@ -1388,12 +1388,6 @@ failure:
return FALSE;
}
-void
-gst_gl_context_lost_context (GstGLContext * context)
-{
- /* do stuff */
-}
-
/**
* gst_gl_context_get_gl_context:
* @context: a #GstGLContext: