camerabin2: more logs
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Sat, 18 Dec 2010 02:06:45 +0000 (23:06 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Thu, 23 Dec 2010 16:24:56 +0000 (13:24 -0300)
gst/camerabin2/gstcamerabin2.c

index d4a0db6..442c681 100644 (file)
@@ -565,6 +565,10 @@ gst_camera_bin_set_property (GObject * object, guint prop_id,
             gst_element_get_static_pad (camera->src,
             GST_BASE_CAMERA_SRC_IMAGE_PAD_NAME);
 
+      GST_DEBUG_OBJECT (camera,
+          "Setting image capture caps to %" GST_PTR_FORMAT,
+          gst_value_get_caps (value));
+
       /* set the capsfilter caps and notify the src to renegotiate */
       g_object_set (camera->imagebin_capsfilter, "caps",
           gst_value_get_caps (value), NULL);
@@ -584,6 +588,10 @@ gst_camera_bin_set_property (GObject * object, guint prop_id,
             gst_element_get_static_pad (camera->src,
             GST_BASE_CAMERA_SRC_VIDEO_PAD_NAME);
 
+      GST_DEBUG_OBJECT (camera,
+          "Setting video capture caps to %" GST_PTR_FORMAT,
+          gst_value_get_caps (value));
+
       /* set the capsfilter caps and notify the src to renegotiate */
       g_object_set (camera->videobin_capsfilter, "caps",
           gst_value_get_caps (value), NULL);