Remove unnecessary destruction of GSources

This commit is contained in:
Xavi Artigas 2012-09-19 13:16:45 +02:00
parent 9cdcecf4f8
commit fa77581edc

View file

@ -231,8 +231,6 @@ static void *app_function (void *userdata) {
data->main_loop = NULL;
/* Free resources */
g_source_destroy (timeout_source);
g_source_destroy (bus_source);
g_main_context_unref (context);
gst_element_set_state (data->pipeline, GST_STATE_NULL);
gst_object_unref (data->vsink);