summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2014-09-24 04:03:42 +0200
committerChristian Pointner <equinox@spreadspace.org>2014-09-24 04:03:42 +0200
commit64781815e4b8e14ae85ba1456bded87197264b82 (patch)
tree22f44b7c643ec6ab32e4ed635c427d16f6717cf6
parentusing different client specification (diff)
parentcleanup (diff)
Merge branch 'master' of gitspread:sydra
-rw-r--r--src/sydra.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sydra.c b/src/sydra.c
index 1c9e605..f80d38f 100644
--- a/src/sydra.c
+++ b/src/sydra.c
@@ -594,7 +594,7 @@ int main_loop(options_t* opt)
GstBus *bus = gst_pipeline_get_bus(GST_PIPELINE(pipeline));
gst_bus_add_watch(bus, bus_call, loop);
- gst_object_unref(bus);
+ gst_object_unref(GST_OBJECT(bus));
gulong deep_notify_id = 0;
if(opt->debug_) {
@@ -620,7 +620,7 @@ int main_loop(options_t* opt)
g_signal_handler_disconnect (pipeline, deep_notify_id);
log_printf(NOTICE, "Stopping pipeline");
- gst_element_set_state (pipeline, GST_STATE_NULL);
+ gst_element_set_state(pipeline, GST_STATE_NULL);
gst_object_unref(GST_OBJECT(pipeline));
return 0;