diff options
Diffstat (limited to 'src/sydra.c')
-rw-r--r-- | src/sydra.c | 4 |
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; |