[MOVED FROM GST-P-FARSIGHT] Search&Replace oops
authorOlivier Crete <olivier.crete@collabora.co.uk>
Mon, 17 Sep 2007 17:52:33 +0000 (17:52 +0000)
committerEdward Hervey <bilboed@bilboed.com>
Sat, 21 Feb 2009 16:48:04 +0000 (17:48 +0100)
20070917175233-3e2dc-57f579c4b890993f49fa8e9e6470a3eb79d2b922.gz

gst/dtmf/gstrtpdtmfsrc.c

index faa4c3e1da9eb1edcb6602c3a56054eb735ffe24..21919a264e13d0ff8865b8f69b45c1a4112d0a84 100644 (file)
@@ -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);