mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
examples/gl/gtk: build fix for the 3dvideo example on macOS
This commit is contained in:
parent
bdcac6f435
commit
26760588e8
1 changed files with 6 additions and 1 deletions
|
@ -23,11 +23,14 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include <gdk/gdk.h>
|
||||||
|
#if defined (GDK_WINDOWING_X11)
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
#include <gdk/gdk.h>
|
|
||||||
#include <gst/video/video-info.h>
|
#include <gst/video/video-info.h>
|
||||||
|
|
||||||
#include "../gstgtk.h"
|
#include "../gstgtk.h"
|
||||||
|
@ -273,7 +276,9 @@ main (gint argc, gchar * argv[])
|
||||||
GtkWidget *area, *combo, *w;
|
GtkWidget *area, *combo, *w;
|
||||||
const gchar *uri;
|
const gchar *uri;
|
||||||
|
|
||||||
|
#if defined (GDK_WINDOWING_X11)
|
||||||
XInitThreads ();
|
XInitThreads ();
|
||||||
|
#endif
|
||||||
|
|
||||||
gst_init (&argc, &argv);
|
gst_init (&argc, &argv);
|
||||||
gtk_init (&argc, &argv);
|
gtk_init (&argc, &argv);
|
||||||
|
|
Loading…
Reference in a new issue