diff options
author | Matthew Waters <matthew@centricular.com> | 2016-01-29 12:45:57 +1100 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2016-01-29 12:45:57 +1100 |
commit | 406fe903317e9fe5b292054d46ddc5586bf0eb0e (patch) | |
tree | 87e8b781f70340c223dacf3291e449dd4fc4e1f4 /gst-libs/gst | |
parent | 49199b03ac6598d1a56927c36ac32234ecc66a1a (diff) | |
download | gstreamer-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.c | 8 | ||||
-rw-r--r-- | gst-libs/gst/gl/gstglcontext.c | 6 |
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: |