From ac2d5821b3f5c775143041168c154a06464930b0 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Wed, 15 Jun 2011 08:20:31 -0300 Subject: [PATCH] camerabin2: Minor debug message fix --- gst/camerabin2/gstcamerabin2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst/camerabin2/gstcamerabin2.c b/gst/camerabin2/gstcamerabin2.c index 9df16a1ddc..a0dbccbd4b 100644 --- a/gst/camerabin2/gstcamerabin2.c +++ b/gst/camerabin2/gstcamerabin2.c @@ -328,7 +328,8 @@ gst_camera_bin_src_notify_readyforcapture (GObject * obj, GParamSpec * pspec, gst_element_set_state (camera->image_encodebin, GST_STATE_NULL); gst_element_set_state (camera->imagebin_queue, GST_STATE_NULL); gst_element_set_state (camera->imagebin_capsfilter, GST_STATE_NULL); - GST_DEBUG_OBJECT (camera, "Switching imagebin location to %s", location); + GST_DEBUG_OBJECT (camera, "Switching imagebin location to %s", + camera->image_location); g_object_set (camera->imagesink, "location", camera->image_location, NULL); gst_element_set_state (camera->imagesink, GST_STATE_PLAYING);