From 19c124d2587bc3fd1f82e53cd0a04852396e5e4d Mon Sep 17 00:00:00 2001 From: Julien Isorce Date: Mon, 19 May 2008 21:36:59 +0000 Subject: [PATCH] [072/906] up git-svn-id: svn://svn.wobow.com/GStreamer_playground/gst-plugins-gl@438 93df14bb-0f41-7a43-8087-d3e2a2f0e464 --- gst-libs/gst/gl/gstgldisplay.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gst-libs/gst/gl/gstgldisplay.c b/gst-libs/gst/gl/gstgldisplay.c index 86cbb9703f..43a30f2a8d 100644 --- a/gst-libs/gst/gl/gstgldisplay.c +++ b/gst-libs/gst/gl/gstgldisplay.c @@ -355,9 +355,12 @@ gst_gl_display_finalize (GObject *object) static gpointer gst_gl_display_glutThreadFunc (GstGLDisplay *display) { - static char *argv = "gst-launch-0.10.exe"; + static char *argv = "gst-launch-0.10"; static gint argc = 1; + //-display DISPLAY + //Specify the X server to connect to. If not specified, the value of the DISPLAY environment variable is used. + //Should be pass through a glimagesink property glutInit(&argc, &argv); glutSetOption(GLUT_ACTION_ON_WINDOW_CLOSE, GLUT_ACTION_CONTINUE_EXECUTION);