mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
gtk: examples: #define GST_USE_UNSTABLE_API and link with X11_LIBS
X11_LIBS is needed for XInitThreads() and without the #define we get warnings about the GL API being still unstable.
This commit is contained in:
parent
aaacc9fe54
commit
d37822173d
1 changed files with 8 additions and 4 deletions
|
@ -16,10 +16,12 @@ gtkglsink_CFLAGS = $(GTK3_CFLAGS) \
|
||||||
$(GST_PLUGINS_BAD_CFLAGS) \
|
$(GST_PLUGINS_BAD_CFLAGS) \
|
||||||
$(GST_PLUGINS_BASE_CFLAGS) \
|
$(GST_PLUGINS_BASE_CFLAGS) \
|
||||||
$(GST_CFLAGS) \
|
$(GST_CFLAGS) \
|
||||||
$(GL_CFLAGS)
|
$(GL_CFLAGS) \
|
||||||
|
-DGST_USE_UNSTABLE_API
|
||||||
gtkglsink_LDADD = $(GTK3_LIBS) \
|
gtkglsink_LDADD = $(GTK3_LIBS) \
|
||||||
$(GST_LIBS) \
|
$(GST_LIBS) \
|
||||||
$(GL_LIBS)
|
$(GL_LIBS) \
|
||||||
|
$(X11_LIBS)
|
||||||
|
|
||||||
glliveshader_SOURCES = glliveshader.c
|
glliveshader_SOURCES = glliveshader.c
|
||||||
glliveshader_CFLAGS = $(GTK3_CFLAGS) \
|
glliveshader_CFLAGS = $(GTK3_CFLAGS) \
|
||||||
|
@ -28,10 +30,12 @@ glliveshader_CFLAGS = $(GTK3_CFLAGS) \
|
||||||
$(GST_PLUGINS_BAD_CFLAGS) \
|
$(GST_PLUGINS_BAD_CFLAGS) \
|
||||||
$(GST_PLUGINS_BASE_CFLAGS) \
|
$(GST_PLUGINS_BASE_CFLAGS) \
|
||||||
$(GST_CFLAGS) \
|
$(GST_CFLAGS) \
|
||||||
$(GL_CFLAGS)
|
$(GL_CFLAGS) \
|
||||||
|
-DGST_USE_UNSTABLE_API
|
||||||
glliveshader_LDADD = $(GTK3_LIBS) \
|
glliveshader_LDADD = $(GTK3_LIBS) \
|
||||||
$(GST_LIBS) \
|
$(GST_LIBS) \
|
||||||
$(GL_LIBS) \
|
$(GL_LIBS) \
|
||||||
$(top_builddir)/gst-libs/gst/gl/libgstgl-$(GST_API_VERSION).la
|
$(top_builddir)/gst-libs/gst/gl/libgstgl-$(GST_API_VERSION).la \
|
||||||
|
$(X11_LIBS)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue