From fa77581edc7b3aa3487f55b5d91b7524e1c04dd7 Mon Sep 17 00:00:00 2001 From: Xavi Artigas Date: Wed, 19 Sep 2012 13:16:45 +0200 Subject: [PATCH] Remove unnecessary destruction of GSources --- gst-sdk/tutorials/android-tutorial-1/jni/tutorial-1.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gst-sdk/tutorials/android-tutorial-1/jni/tutorial-1.c b/gst-sdk/tutorials/android-tutorial-1/jni/tutorial-1.c index a4ae0a2929..474ee31e1a 100755 --- a/gst-sdk/tutorials/android-tutorial-1/jni/tutorial-1.c +++ b/gst-sdk/tutorials/android-tutorial-1/jni/tutorial-1.c @@ -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);