mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-25 10:04:19 +00:00
Remove unnecessary destruction of GSources
This commit is contained in:
parent
9cdcecf4f8
commit
fa77581edc
1 changed files with 0 additions and 2 deletions
|
@ -231,8 +231,6 @@ static void *app_function (void *userdata) {
|
||||||
data->main_loop = NULL;
|
data->main_loop = NULL;
|
||||||
|
|
||||||
/* Free resources */
|
/* Free resources */
|
||||||
g_source_destroy (timeout_source);
|
|
||||||
g_source_destroy (bus_source);
|
|
||||||
g_main_context_unref (context);
|
g_main_context_unref (context);
|
||||||
gst_element_set_state (data->pipeline, GST_STATE_NULL);
|
gst_element_set_state (data->pipeline, GST_STATE_NULL);
|
||||||
gst_object_unref (data->vsink);
|
gst_object_unref (data->vsink);
|
||||||
|
|
Loading…
Reference in a new issue