[0.10] gst-plugins-bad: camerabin2: clarify some message logs

Tim Müller tpm at kemper.freedesktop.org
Wed Jan 4 10:07:56 PST 2012


Module: gst-plugins-bad
Branch: 0.10
Commit: b30c8d5df577b63d343131ad8bfcd2c661b0b9b5
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=b30c8d5df577b63d343131ad8bfcd2c661b0b9b5

Author: Thiago Santos <thiago.sousa.santos at collabora.com>
Date:   Fri Dec 30 00:02:19 2011 -0300

camerabin2: clarify some message logs

Be explicit on which encodebin we're switching profiles on the
log messages

---

 gst/camerabin2/gstcamerabin2.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gst/camerabin2/gstcamerabin2.c b/gst/camerabin2/gstcamerabin2.c
index 073cb6f..ff9f134 100644
--- a/gst/camerabin2/gstcamerabin2.c
+++ b/gst/camerabin2/gstcamerabin2.c
@@ -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,



More information about the gstreamer-commits mailing list