examples: fix bogus g_object_unref in helloworld example

GMainLoop is not a GObject.

https://bugzilla.gnome.org/show_bug.cgi?id=424143
This commit is contained in:
Tim-Philipp Müller 2011-09-25 16:10:53 +01:00
parent 56b3acb043
commit 51764c3f44

View file

@ -74,7 +74,7 @@ main (gint argc, gchar * argv[])
/* cleanup */
gst_element_set_state (playbin, GST_STATE_NULL);
g_object_unref (playbin);
g_object_unref (loop);
g_main_loop_unref (loop);
return 0;
}