diff options
-rw-r--r-- | gst/dtmf/gstrtpdtmfsrc.c | 2 |
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); |