From d96964e391b26eb72164a90c340374c8600bef15 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Tue, 2 Nov 2010 10:24:49 -0300 Subject: [PATCH] camerabin: Add missing change to previous commits Forgot to add this change to the latest commits. This fixes the build. --- gst/camerabin/camerabinpreview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/camerabin/camerabinpreview.c b/gst/camerabin/camerabinpreview.c index 0f11bde565..028297eaf6 100644 --- a/gst/camerabin/camerabinpreview.c +++ b/gst/camerabin/camerabinpreview.c @@ -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)) {