[MOVED FROM GST-P-FARSIGHT] Search&Replace oops

20070917175233-3e2dc-57f579c4b890993f49fa8e9e6470a3eb79d2b922.gz
This commit is contained in:
Olivier Crete 2007-09-17 17:52:33 +00:00 committed by Edward Hervey
parent 8d2d39a3a6
commit 37f9c1efdb

View 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);