diff options
author | Christian Pointner <equinox@spreadspace.org> | 2014-09-24 03:24:08 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2014-09-24 03:24:08 +0200 |
commit | 320aca613efe089b833638dc2bdf7a719828e8fa (patch) | |
tree | b29dc71a9f12a6fe6ae71082cd44202fc4a7e618 /src | |
parent | improve debug output (diff) |
cleanup
Diffstat (limited to 'src')
-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 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; |