summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorOlivier Crete <olivier.crete@collabora.co.uk>2007-09-17 17:52:33 +0000
committerEdward Hervey <bilboed@bilboed.com>2009-02-21 17:48:04 +0100
commit37f9c1efdb9d1781c6f08b20bebad3f38e7e2429 (patch)
tree30dd6350acab5c062599a0fd6a39c19627691b4e /gst
parent8d2d39a3a62f39af1a88b9a8905f762807c24ed8 (diff)
downloadgst-plugins-bad-37f9c1efdb9d1781c6f08b20bebad3f38e7e2429.tar.gz
gst-plugins-bad-37f9c1efdb9d1781c6f08b20bebad3f38e7e2429.tar.bz2
gst-plugins-bad-37f9c1efdb9d1781c6f08b20bebad3f38e7e2429.zip
[MOVED FROM GST-P-FARSIGHT] Search&Replace oops
20070917175233-3e2dc-57f579c4b890993f49fa8e9e6470a3eb79d2b922.gz
Diffstat (limited to 'gst')
-rw-r--r--gst/dtmf/gstrtpdtmfsrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/dtmf/gstrtpdtmfsrc.c b/gst/dtmf/gstrtpdtmfsrc.c
index faa4c3e1..21919a26 100644
--- a/gst/dtmf/gstrtpdtmfsrc.c
+++ b/gst/dtmf/gstrtpdtmfsrc.c
@@ -900,7 +900,7 @@ gst_rtp_dtmf_src_negotiate (GstBaseSrc * basesrc)
/* get first structure */
s = gst_caps_get_structure (srccaps, 0);
- if (gst_structure_get_int (s, "dtmfsrc", &pt)) {
+ if (gst_structure_get_int (s, "payload", &pt)) {
/* use peer pt */
dtmfsrc->pt = pt;
GST_LOG_OBJECT (dtmfsrc, "using peer pt %d", pt);