summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZeeshan Ali <zeenix@gmail.com>2005-10-26 21:47:36 +0000
committerZeeshan Ali <zeenix@gmail.com>2005-10-26 21:47:36 +0000
commitb08773ea83c295b1ae601e9deb9bbafaecaaee58 (patch)
treea4941337a61403e9afe7fa6c44c1ce436e034622
parent1a3c167987b4960b983cb297dfeae7ef806bedea (diff)
Declaring the padtemplate correctly.
Original commit message from CVS: Declaring the padtemplate correctly.
-rw-r--r--ChangeLog6
-rw-r--r--gst/rtp/gstrtpgsmdepay.c2
-rw-r--r--gst/rtp/gstrtpgsmenc.c2
-rw-r--r--gst/rtp/gstrtpgsmparse.c2
-rw-r--r--gst/rtp/gstrtpgsmpay.c2
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 <zeenix@gmail.com>
+
+ * gst/rtp/gstrtpgsmenc.c:
+ * gst/rtp/gstrtpgsmparse.c:
+ Declaring the padtemplate correctly.
+
2005-10-26 Zeeshan Ali <zeenix@gmail.com>
* 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\"")
);