gst/rtpmanager/gstrtpbin.c: Print the pad-name in debug log.
authorStefan Kost <ensonic@users.sourceforge.net>
Mon, 11 Aug 2008 07:20:15 +0000 (07:20 +0000)
committerStefan Kost <ensonic@users.sourceforge.net>
Mon, 11 Aug 2008 07:20:15 +0000 (07:20 +0000)
Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c:
Print the pad-name in debug log.
* sys/dshowsrcwrapper/gstdshowaudiosrc.c:
* sys/dshowsrcwrapper/gstdshowvideosrc.c:
Use "-" instead of "_" in property names. Can we call them just
"device" like everywhere else?

ChangeLog
gst/rtpmanager/gstrtpbin.c
sys/dshowsrcwrapper/gstdshowaudiosrc.c
sys/dshowsrcwrapper/gstdshowvideosrc.c

index 9cdb766..9f5df33 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2008-08-11  Stefan Kost  <ensonic@users.sf.net>
+
+       * gst/rtpmanager/gstrtpbin.c:
+         Print the pad-name in debug log.
+
+       * sys/dshowsrcwrapper/gstdshowaudiosrc.c:
+       * sys/dshowsrcwrapper/gstdshowvideosrc.c:
+         Use "-" instead of "_" in property names. Can we call them just
+         "device" like everywhere else?
+
 2008-08-08  Mark Nauwelaerts  <mark.nauwelaerts@collabora.co.uk>
 
        * ext/x264/gstx264enc.c: (gst_x264_enc_log_callback),
index f3e9537..de1f549 100644 (file)
@@ -1847,7 +1847,8 @@ new_ssrc_pad_found (GstElement * element, guint ssrc, GstPad * pad,
 
   rtpbin = session->bin;
 
-  GST_DEBUG_OBJECT (rtpbin, "new SSRC pad %08x", ssrc);
+  GST_DEBUG_OBJECT (rtpbin, "new SSRC pad %08x, %s:%s", ssrc,
+      GST_DEBUG_PAD_NAME (pad));
 
   GST_RTP_BIN_SHUTDOWN_LOCK (rtpbin, shutdown);
 
index bee6f47..d6edf47 100644 (file)
@@ -171,7 +171,7 @@ gst_dshowaudiosrc_class_init (GstDshowAudioSrcClass * klass)
 
   g_object_class_install_property
       (gobject_class, PROP_DEVICE_NAME,
-      g_param_spec_string ("device_name", "Device name",
+      g_param_spec_string ("device-name", "Device name",
           "Human-readable name of the sound device", NULL, G_PARAM_READWRITE));
 
   GST_DEBUG_CATEGORY_INIT (dshowaudiosrc_debug, "dshowaudiosrc", 0,
@@ -253,7 +253,7 @@ gst_dshowaudiosrc_probe_get_properties (GstPropertyProbe * probe)
   if (!props) {
     GParamSpec *pspec;
 
-    pspec = g_object_class_find_property (klass, "device_name");
+    pspec = g_object_class_find_property (klass, "device-name");
     props = g_list_append (props, pspec);
   }
 
index a7692ad..4a37778 100644 (file)
@@ -185,7 +185,7 @@ gst_dshowvideosrc_class_init (GstDshowVideoSrcClass * klass)
 
   g_object_class_install_property
       (gobject_class, PROP_DEVICE_NAME,
-      g_param_spec_string ("device_name", "Device name",
+      g_param_spec_string ("device-name", "Device name",
           "Human-readable name of the sound device", NULL, G_PARAM_READWRITE));
 
   GST_DEBUG_CATEGORY_INIT (dshowvideosrc_debug, "dshowvideosrc", 0,
@@ -307,7 +307,7 @@ gst_dshowvideosrc_probe_get_properties (GstPropertyProbe * probe)
   if (!props) {
     GParamSpec *pspec;
 
-    pspec = g_object_class_find_property (klass, "device_name");
+    pspec = g_object_class_find_property (klass, "device-name");
     props = g_list_append (props, pspec);
   }