summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2013-05-14 15:51:40 (GMT)
committerThiago Santos <thiago.sousa.santos@collabora.com>2013-05-14 16:17:04 (GMT)
commit0b17faab0b9db538679774637ef52a193bff38bf (patch)
tree965af49a82a1a8b633bae304d9c340bc3ba10bf7
parent08542cbfb3088748ccf6943344c623545b1f08d1 (diff)
downloadgst-plugins-bad-0b17faab0b9db538679774637ef52a193bff38bf.tar.gz
gst-plugins-bad-0b17faab0b9db538679774637ef52a193bff38bf.tar.xz
eglglessink: Get the EGL/GLES extensions at the right position
-rw-r--r--ext/eglgles/gstegladaptation.c1
-rw-r--r--ext/eglgles/gsteglglessink.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/ext/eglgles/gstegladaptation.c b/ext/eglgles/gstegladaptation.c
index a04b0fb..a0532a6 100644
--- a/ext/eglgles/gstegladaptation.c
+++ b/ext/eglgles/gstegladaptation.c
@@ -334,7 +334,6 @@ gst_egl_adaptation_choose_config (GstEglAdaptationContext * ctx)
goto HANDLE_ERROR;
}
- gst_egl_adaptation_init_egl_exts (ctx);
return TRUE;
/* Errors */
diff --git a/ext/eglgles/gsteglglessink.c b/ext/eglgles/gsteglglessink.c
index 160d3cf..4e8c6d5 100644
--- a/ext/eglgles/gsteglglessink.c
+++ b/ext/eglgles/gsteglglessink.c
@@ -1139,6 +1139,8 @@ gst_eglglessink_configure_caps (GstEglGlesSink * eglglessink, GstCaps * caps)
}
}
+ gst_egl_adaptation_init_egl_exts (eglglessink->egl_context);
+
SUCCEED:
GST_INFO_OBJECT (eglglessink, "Configured caps successfully");
return TRUE;