GstGtkGLSink: Ensure widget has a toplevel parent
authorXavier Claessens <xavier.claessens@collabora.com>
Wed, 17 Jun 2015 13:36:57 +0000 (09:36 -0400)
committerMatthew Waters <matthew@centricular.com>
Thu, 9 Jul 2015 06:40:19 +0000 (16:40 +1000)
commitc3f1f2d78bf622893cf15bf68ff63245566d7906
tree065a39f7e99f696dac2c63c00ba34ce3aecc45d7
parent9f39a9964a07e6d118a4994dc275265931df65da
GstGtkGLSink: Ensure widget has a toplevel parent

Checking for a parent is not enough, it must have a toplevel one.
If widget has no toplevel parent then add it in a GtkWindow, that
make it usable from gst-launch-1.0.

https://bugzilla.gnome.org/show_bug.cgi?id=751104
ext/gtk/gstgtkglsink.c