summaryrefslogtreecommitdiffstats
path: root/sys/dshowsrcwrapper
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2008-08-11 07:20:15 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2008-08-11 07:20:15 +0000
commit0a8be3528787289767532dfb9b9cd25dff05b1e7 (patch)
tree663d0b9b67d61f9f44b18dafc7159c6588ea016e /sys/dshowsrcwrapper
parent3a22f6fa93130713c5b6b006566f7730e69b7507 (diff)
downloadgst-plugins-bad-0a8be3528787289767532dfb9b9cd25dff05b1e7.tar.gz
gst-plugins-bad-0a8be3528787289767532dfb9b9cd25dff05b1e7.tar.bz2
gst-plugins-bad-0a8be3528787289767532dfb9b9cd25dff05b1e7.zip
gst/rtpmanager/gstrtpbin.c: Print the pad-name in debug log.
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?
Diffstat (limited to 'sys/dshowsrcwrapper')
-rw-r--r--sys/dshowsrcwrapper/gstdshowaudiosrc.c4
-rw-r--r--sys/dshowsrcwrapper/gstdshowvideosrc.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dshowsrcwrapper/gstdshowaudiosrc.c b/sys/dshowsrcwrapper/gstdshowaudiosrc.c
index bee6f47c..d6edf47d 100644
--- a/sys/dshowsrcwrapper/gstdshowaudiosrc.c
+++ b/sys/dshowsrcwrapper/gstdshowaudiosrc.c
@@ -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);
}
diff --git a/sys/dshowsrcwrapper/gstdshowvideosrc.c b/sys/dshowsrcwrapper/gstdshowvideosrc.c
index a7692ad5..4a37778c 100644
--- a/sys/dshowsrcwrapper/gstdshowvideosrc.c
+++ b/sys/dshowsrcwrapper/gstdshowvideosrc.c
@@ -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);
}