camerabin2: Minor debug message fix

This commit is contained in:
Thiago Santos 2011-06-15 08:20:31 -03:00
parent 62c65a49f3
commit ac2d5821b3

View file

@ -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->image_encodebin, GST_STATE_NULL);
gst_element_set_state (camera->imagebin_queue, GST_STATE_NULL); gst_element_set_state (camera->imagebin_queue, GST_STATE_NULL);
gst_element_set_state (camera->imagebin_capsfilter, 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, g_object_set (camera->imagesink, "location", camera->image_location,
NULL); NULL);
gst_element_set_state (camera->imagesink, GST_STATE_PLAYING); gst_element_set_state (camera->imagesink, GST_STATE_PLAYING);