From b7bb5cd6a0ff49b58e30e31f70797f9559c73934 Mon Sep 17 00:00:00 2001 From: Olivier Crete Date: Wed, 19 Mar 2008 19:32:51 +0000 Subject: [PATCH] [MOVED FROM GST-P-FARSIGHT] encoding name has to be upper-case 20080319193251-3e2dc-1581b33be9b486e35ec4948009677ccd5ffdc098.gz --- gst/dtmf/gstrtpdtmfsrc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/dtmf/gstrtpdtmfsrc.c b/gst/dtmf/gstrtpdtmfsrc.c index 0fcce3f..76c2b0e 100644 --- a/gst/dtmf/gstrtpdtmfsrc.c +++ b/gst/dtmf/gstrtpdtmfsrc.c @@ -194,7 +194,7 @@ GST_STATIC_PAD_TEMPLATE ("src", "payload = (int) [ 96, 127 ], " "clock-rate = (int) [ 0, MAX ], " "ssrc = (int) [ 0, MAX ], " - "encoding-name = (string) \"telephone-event\"") + "encoding-name = (string) \"TELEPHONE-EVENT\"") /* "events = (string) \"1-16\" */ ); @@ -857,7 +857,7 @@ gst_rtp_dtmf_src_negotiate (GstBaseSrc * basesrc) srccaps = gst_caps_new_simple ("application/x-rtp", "media", G_TYPE_STRING, "audio", "clock-rate", G_TYPE_INT, dtmfsrc->clock_rate, - "encoding-name", G_TYPE_STRING, "telephone-event", NULL); + "encoding-name", G_TYPE_STRING, "TELEPHONE-EVENT", NULL); /* the peer caps can override some of the defaults */ peercaps = gst_pad_peer_get_caps (GST_BASE_SRC_PAD (basesrc)); -- 2.7.4