camerabin2: clarify some message logs
authorThiago Santos <thiago.sousa.santos@collabora.com>
Fri, 30 Dec 2011 03:02:19 +0000 (00:02 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.com>
Fri, 30 Dec 2011 03:02:19 +0000 (00:02 -0300)
Be explicit on which encodebin we're switching profiles on the
log messages

gst/camerabin2/gstcamerabin2.c

index 073cb6f..ff9f134 100644 (file)
@@ -1679,7 +1679,7 @@ gst_camera_bin_create_elements (GstCameraBin2 * camera)
       NULL);
 
   if (camera->video_profile_switch) {
-    GST_DEBUG_OBJECT (camera, "Switching encodebin's profile");
+    GST_DEBUG_OBJECT (camera, "Switching video-encodebin's profile");
     g_object_set (camera->video_encodebin, "profile", camera->video_profile,
         NULL);
     if (GST_PAD_LINK_FAILED (gst_camera_bin_link_encodebin (camera,
@@ -1694,7 +1694,7 @@ gst_camera_bin_create_elements (GstCameraBin2 * camera)
   }
 
   if (camera->image_profile_switch) {
-    GST_DEBUG_OBJECT (camera, "Switching encodebin's profile");
+    GST_DEBUG_OBJECT (camera, "Switching image-encodebin's profile");
     g_object_set (camera->image_encodebin, "profile", camera->image_profile,
         NULL);
     if (GST_PAD_LINK_FAILED (gst_camera_bin_link_encodebin (camera,