mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
gio: Remove workaround for playbin2 bug in the sample application
The playbin2 bug was #588078.
This commit is contained in:
parent
3d751d190d
commit
f98d0f8895
1 changed files with 0 additions and 6 deletions
|
@ -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);
|
ret = g_file_mount_enclosing_volume_finish (G_FILE (obj), res, &err);
|
||||||
|
|
||||||
if (ret) {
|
if (ret) {
|
||||||
const gchar *uri;
|
|
||||||
|
|
||||||
g_print ("mounted successfully\n");
|
g_print ("mounted successfully\n");
|
||||||
gst_bus_set_flushing ((GstBus *) user_data, FALSE);
|
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);
|
gst_element_set_state (pipeline, GST_STATE_PLAYING);
|
||||||
} else {
|
} else {
|
||||||
g_print ("mounting failed: %s\n", err->message);
|
g_print ("mounting failed: %s\n", err->message);
|
||||||
|
|
Loading…
Reference in a new issue