gio: Remove workaround for playbin2 bug in the sample application
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 10 Jul 2009 15:15:48 +0000 (17:15 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 10 Jul 2009 15:15:48 +0000 (17:15 +0200)
The playbin2 bug was #588078.

tests/examples/gio/giosrc-mounting.c

index 8181096..b6d4731 100644 (file)
@@ -34,15 +34,9 @@ mount_cb (GObject * obj, GAsyncResult * res, gpointer user_data)
   ret = g_file_mount_enclosing_volume_finish (G_FILE (obj), res, &err);
 
   if (ret) {
-    const gchar *uri;
-
     g_print ("mounted successfully\n");
     gst_bus_set_flushing ((GstBus *) user_data, FALSE);
 
-    /* FIXME: This works around bug #588078 */
-    g_object_get (G_OBJECT (pipeline), "uri", &uri, NULL);
-    g_object_set (G_OBJECT (pipeline), "uri", uri, NULL);
-
     gst_element_set_state (pipeline, GST_STATE_PLAYING);
   } else {
     g_print ("mounting failed: %s\n", err->message);