From b08773ea83c295b1ae601e9deb9bbafaecaaee58 Mon Sep 17 00:00:00 2001 From: Zeeshan Ali Date: Wed, 26 Oct 2005 21:47:36 +0000 Subject: Declaring the padtemplate correctly. Original commit message from CVS: Declaring the padtemplate correctly. --- ChangeLog | 6 ++++++ gst/rtp/gstrtpgsmdepay.c | 2 +- gst/rtp/gstrtpgsmenc.c | 2 +- gst/rtp/gstrtpgsmparse.c | 2 +- gst/rtp/gstrtpgsmpay.c | 2 +- 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 55edc3cc..01f54461 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-10-27 Zeeshan Ali + + * gst/rtp/gstrtpgsmenc.c: + * gst/rtp/gstrtpgsmparse.c: + Declaring the padtemplate correctly. + 2005-10-26 Zeeshan Ali * gst/rtp/gstrtpg711dec.c: diff --git a/gst/rtp/gstrtpgsmdepay.c b/gst/rtp/gstrtpgsmdepay.c index 1f9d4208..79a8b7b3 100644 --- a/gst/rtp/gstrtpgsmdepay.c +++ b/gst/rtp/gstrtpgsmdepay.c @@ -49,7 +49,7 @@ GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_ALWAYS, GST_STATIC_CAPS ("application/x-rtp, " "media = (string) \"audio\", " - "payload = (int) [ 96, 255 ], " + "payload = (int) [ 0, 255 ], " "clock-rate = (int) 8000, " "encoding-name = (string) \"GSM\"") ); diff --git a/gst/rtp/gstrtpgsmenc.c b/gst/rtp/gstrtpgsmenc.c index f6a731db..1a7d2726 100644 --- a/gst/rtp/gstrtpgsmenc.c +++ b/gst/rtp/gstrtpgsmenc.c @@ -49,7 +49,7 @@ GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_ALWAYS, GST_STATIC_CAPS ("application/x-rtp, " "media = (string) \"audio\", " - "payload = (int) [ 96, 255 ], " + "payload = (int) " GST_RTP_PAYLOAD_GSM_STRING ", " "clock-rate = (int) 8000, " "encoding-name = (string) \"GSM\"") ); diff --git a/gst/rtp/gstrtpgsmparse.c b/gst/rtp/gstrtpgsmparse.c index 1f9d4208..79a8b7b3 100644 --- a/gst/rtp/gstrtpgsmparse.c +++ b/gst/rtp/gstrtpgsmparse.c @@ -49,7 +49,7 @@ GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_ALWAYS, GST_STATIC_CAPS ("application/x-rtp, " "media = (string) \"audio\", " - "payload = (int) [ 96, 255 ], " + "payload = (int) [ 0, 255 ], " "clock-rate = (int) 8000, " "encoding-name = (string) \"GSM\"") ); diff --git a/gst/rtp/gstrtpgsmpay.c b/gst/rtp/gstrtpgsmpay.c index f6a731db..1a7d2726 100644 --- a/gst/rtp/gstrtpgsmpay.c +++ b/gst/rtp/gstrtpgsmpay.c @@ -49,7 +49,7 @@ GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_ALWAYS, GST_STATIC_CAPS ("application/x-rtp, " "media = (string) \"audio\", " - "payload = (int) [ 96, 255 ], " + "payload = (int) " GST_RTP_PAYLOAD_GSM_STRING ", " "clock-rate = (int) 8000, " "encoding-name = (string) \"GSM\"") ); -- cgit