From 320aca613efe089b833638dc2bdf7a719828e8fa Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 24 Sep 2014 03:24:08 +0200 Subject: cleanup --- src/sydra.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/sydra.c b/src/sydra.c index dd85038..88638b7 100644 --- a/src/sydra.c +++ b/src/sydra.c @@ -575,7 +575,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_) { @@ -601,7 +601,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; -- cgit v1.2.3