Remove invalid extra unref on the gst bus
authorXavi Artigas <xartigas@fluendo.com>
Mon, 17 Sep 2012 15:35:32 +0000 (17:35 +0200)
committerXavi Artigas <xartigas@fluendo.com>
Mon, 17 Sep 2012 15:35:32 +0000 (17:35 +0200)
gst-sdk/tutorials/android-tutorial-1/jni/tutorial-1.c

index 5b9a1ff..1256f4c 100755 (executable)
@@ -255,7 +255,6 @@ static void *app_function (void *userdata) {
   g_source_destroy (timeout_source);
 
   /* Free resources */
-  gst_object_unref (bus);
   gst_element_set_state (data->pipeline, GST_STATE_NULL);
   gst_object_unref (data->vsink);
   gst_object_unref (data->pipeline);