mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-16 11:15:31 +00:00
[262/906] Works on linux but still some bugs. Fix autotools build.
This commit is contained in:
parent
c683760189
commit
d404163d79
3 changed files with 4 additions and 5 deletions
|
@ -19,13 +19,11 @@ libgstgl_@GST_MAJORMINOR@include_HEADERS = \
|
|||
libgstgl_@GST_MAJORMINOR@_la_LIBADD = \
|
||||
$(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_MAJORMINOR) \
|
||||
$(GST_BASE_LIBS) $(GST_LIBS) \
|
||||
${top_builddir}/gst-libs/gst/freeglut/libgstfreeglut-$(GST_MAJORMINOR).la \
|
||||
-lGLU -lGLEW $(GL_LIBS) $(X_LIBS)
|
||||
|
||||
libgstgl_@GST_MAJORMINOR@_la_CFLAGS = \
|
||||
$(GL_CFLAGS) $(X_CFLAGS) \
|
||||
$(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) \
|
||||
-I$(top_srcdir)/gst-libs/gst/freeglut
|
||||
$(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
|
||||
|
||||
libgstgl_@GST_MAJORMINOR@_la_LDFLAGS = \
|
||||
$(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
|
||||
|
|
|
@ -447,7 +447,10 @@ gst_gl_window_run_loop (GstGLWindow *window)
|
|||
|
||||
case Expose:
|
||||
if (priv->draw_cb)
|
||||
{
|
||||
priv->draw_cb (priv->draw_data);
|
||||
glXSwapBuffers (priv->device, priv->internal_win_id);
|
||||
}
|
||||
break;
|
||||
|
||||
case VisibilityNotify:
|
||||
|
|
|
@ -61,7 +61,6 @@ endif
|
|||
libgstopengl_la_CFLAGS = $(GST_CFLAGS) $(X_CFLAGS) $(GST_BASE_CFLAGS) \
|
||||
$(GST_PLUGINS_BASE_CFLAGS) $(GL_CFLAGS) \
|
||||
-I$(top_srcdir)/gst-libs \
|
||||
-I$(top_srcdir)/gst-libs/gst/freeglut \
|
||||
-I$(top_srcdir)/gst-libs/gst/gl \
|
||||
-I$(top_srcdir)/gst/gl/effects
|
||||
if HAVE_GDKPIXBUF
|
||||
|
@ -69,7 +68,6 @@ libgstopengl_la_CFLAGS += $(GDKPIXBUF_CFLAGS)
|
|||
endif
|
||||
|
||||
libgstopengl_la_LIBADD = \
|
||||
$(top_builddir)/gst-libs/gst/freeglut/libgstfreeglut-$(GST_MAJORMINOR).la \
|
||||
$(top_builddir)/gst-libs/gst/gl/libgstgl-$(GST_MAJORMINOR).la \
|
||||
$(GST_BASE_LIBS) \
|
||||
$(GST_PLUGINS_BASE_LIBS) -lgstinterfaces-$(GST_MAJORMINOR) \
|
||||
|
|
Loading…
Reference in a new issue