camerabin: Add missing change to previous commits
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Tue, 2 Nov 2010 13:24:49 +0000 (10:24 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Tue, 2 Nov 2010 13:24:49 +0000 (10:24 -0300)
Forgot to add this change to the latest commits. This fixes the build.

gst/camerabin/camerabinpreview.c

index 0f11bde565d85130bc9e72676748479cba22b4a6..028297eaf64964b9a0100a3c2c6c4815fe59ed1a 100644 (file)
@@ -229,7 +229,7 @@ gst_camerabin_preview_convert (GstCameraBin * camera,
   bus = gst_element_get_bus (pipeline);
   msg = gst_bus_timed_pop_filtered (bus, (25 * GST_SECOND),
       GST_MESSAGE_ERROR | GST_MESSAGE_EOS);
-  gst_bus_unref (bus);
+  gst_object_unref (bus);
 
   if (msg) {
     switch (GST_MESSAGE_TYPE (msg)) {