Guest User

Untitled

a guest
Apr 22nd, 2014
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. diff --git a/gst-libs/gst/gl/gstglcontext.c b/gst-libs/gst/gl/gstglcontext.c
  2. index 432d8bd..1eaad89 100644
  3. --- a/gst-libs/gst/gl/gstglcontext.c
  4. +++ b/gst-libs/gst/gl/gstglcontext.c
  5. @@ -413,7 +413,7 @@ gst_gl_context_default_get_proc_address (GstGLContext * context,
  6. {
  7. gpointer ret = NULL;
  8.  
  9. -#ifdef USE_EGL_RPI
  10. +#if 1
  11.  
  12. //FIXME: Can't understand why default does not work
  13. // so for now retrieve proc addressed manually
  14. @@ -422,7 +422,7 @@ gst_gl_context_default_get_proc_address (GstGLContext * context,
  15. static GModule *module_glesv2 = NULL;
  16.  
  17. if (!module_egl)
  18. - module_egl = g_module_open ("/opt/vc/lib/libEGL.so", G_MODULE_BIND_LAZY);
  19. + module_egl = g_module_open ("libEGL.so", G_MODULE_BIND_LAZY);
  20.  
  21. if (module_egl) {
  22. if (!g_module_symbol (module_egl, name, &ret)) {
  23. @@ -435,7 +435,7 @@ gst_gl_context_default_get_proc_address (GstGLContext * context,
  24.  
  25. if (!module_glesv2)
  26. module_glesv2 =
  27. - g_module_open ("/opt/vc/lib/libGLESv2.so", G_MODULE_BIND_LAZY);
  28. + g_module_open ("libGLESv2.so", G_MODULE_BIND_LAZY);
  29.  
  30. if (module_glesv2) {
  31. if (!g_module_symbol (module_glesv2, name, &ret)) {
Advertisement
Add Comment
Please, Sign In to add comment