gst/rtp/: Various class and caps fixes from Andre Magalhaes (andrunko)
authorWim Taymans <wim.taymans@gmail.com>
Fri, 30 Sep 2005 16:36:49 +0000 (16:36 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Fri, 30 Sep 2005 16:36:49 +0000 (16:36 +0000)
Original commit message from CVS:
* gst/rtp/gstrtpamrenc.c: (gst_rtpamrenc_setcaps):
* gst/rtp/gstrtpgsmparse.c:
* gst/rtp/gstrtph263penc.c:
* gst/rtp/gstrtpmp4venc.c: (gst_rtpmp4venc_class_init),
(gst_rtpmp4venc_parse_data), (gst_rtpmp4venc_handle_buffer),
(gst_rtpmp4venc_set_property):
* gst/rtp/gstrtpmpaenc.c: (gst_rtpmpaenc_handle_buffer):
Various class and caps fixes from Andre Magalhaes (andrunko)

12 files changed:
ChangeLog
common
gst/rtp/gstrtpamrenc.c
gst/rtp/gstrtpamrpay.c
gst/rtp/gstrtpgsmdepay.c
gst/rtp/gstrtpgsmparse.c
gst/rtp/gstrtph263penc.c
gst/rtp/gstrtph263ppay.c
gst/rtp/gstrtpmp4venc.c
gst/rtp/gstrtpmp4vpay.c
gst/rtp/gstrtpmpaenc.c
gst/rtp/gstrtpmpapay.c

index 7655214..94d8a0c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2005-09-30  Wim Taymans  <wim@fluendo.com>
+
+       * gst/rtp/gstrtpamrenc.c: (gst_rtpamrenc_setcaps):
+       * gst/rtp/gstrtpgsmparse.c:
+       * gst/rtp/gstrtph263penc.c:
+       * gst/rtp/gstrtpmp4venc.c: (gst_rtpmp4venc_class_init),
+       (gst_rtpmp4venc_parse_data), (gst_rtpmp4venc_handle_buffer),
+       (gst_rtpmp4venc_set_property):
+       * gst/rtp/gstrtpmpaenc.c: (gst_rtpmpaenc_handle_buffer):
+       Various class and caps fixes from Andre Magalhaes (andrunko)
+
 2005-09-29  Wim Taymans  <wim@fluendo.com>
 
        * gst/level/level-example.c: (main):
diff --git a/common b/common
index 7caeee4..7d17546 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit 7caeee4b949b4388927fec7fcf25f767429bde30
+Subproject commit 7d175466d3319fe55327608ea1f7a20619ab5634
index 29cdb2b..2528a8c 100644 (file)
@@ -32,7 +32,7 @@
 /* elementfactory information */
 static GstElementDetails gst_rtp_amrenc_details = {
   "RTP packet parser",
-  "Codec/Parser/Network",
+  "Codec/Encoder/Network",
   "Encode AMR audio into RTP packets (RFC 3267)",
   "Wim Taymans <wim@fluendo.com>"
 };
index 29cdb2b..2528a8c 100644 (file)
@@ -32,7 +32,7 @@
 /* elementfactory information */
 static GstElementDetails gst_rtp_amrenc_details = {
   "RTP packet parser",
-  "Codec/Parser/Network",
+  "Codec/Encoder/Network",
   "Encode AMR audio into RTP packets (RFC 3267)",
   "Wim Taymans <wim@fluendo.com>"
 };
index 97b4342..6b6122b 100644 (file)
@@ -52,7 +52,10 @@ static GstStaticPadTemplate gst_rtpgsmparse_sink_template =
 GST_STATIC_PAD_TEMPLATE ("sink",
     GST_PAD_SINK,
     GST_PAD_ALWAYS,
-    GST_STATIC_CAPS ("application/x-rtp")
+    GST_STATIC_CAPS ("application/x-rtp, "
+        "media = (string) \"audio\", "
+        "payload = (int) [ 96, 255 ], "
+        "clock-rate = (int) 8000, " "encoding-name = (string) \"GSM\"")
     );
 
 
index 97b4342..6b6122b 100644 (file)
@@ -52,7 +52,10 @@ static GstStaticPadTemplate gst_rtpgsmparse_sink_template =
 GST_STATIC_PAD_TEMPLATE ("sink",
     GST_PAD_SINK,
     GST_PAD_ALWAYS,
-    GST_STATIC_CAPS ("application/x-rtp")
+    GST_STATIC_CAPS ("application/x-rtp, "
+        "media = (string) \"audio\", "
+        "payload = (int) [ 96, 255 ], "
+        "clock-rate = (int) 8000, " "encoding-name = (string) \"GSM\"")
     );
 
 
index ebf1207..c140249 100644 (file)
@@ -25,7 +25,7 @@
 /* elementfactory information */
 static GstElementDetails gst_rtp_h263penc_details = {
   "RTP packet parser",
-  "Codec/Parser/Network",
+  "Codec/Encoder/Network",
   "Encodes H263+ video in RTP packets (RFC 2429)",
   "Wim Taymans <wim@fluendo.com>"
 };
index ebf1207..c140249 100644 (file)
@@ -25,7 +25,7 @@
 /* elementfactory information */
 static GstElementDetails gst_rtp_h263penc_details = {
   "RTP packet parser",
-  "Codec/Parser/Network",
+  "Codec/Encoder/Network",
   "Encodes H263+ video in RTP packets (RFC 2429)",
   "Wim Taymans <wim@fluendo.com>"
 };
index 08644ed..e73d8d0 100644 (file)
@@ -25,7 +25,7 @@
 /* elementfactory information */
 static GstElementDetails gst_rtp_mp4venc_details = {
   "RTP packet parser",
-  "Codec/Parser/Network",
+  "Codec/Encoder/Network",
   "Encode MPEG4 video as RTP packets (RFC 3016)",
   "Wim Taymans <wim@fluendo.com>"
 };
index 08644ed..e73d8d0 100644 (file)
@@ -25,7 +25,7 @@
 /* elementfactory information */
 static GstElementDetails gst_rtp_mp4venc_details = {
   "RTP packet parser",
-  "Codec/Parser/Network",
+  "Codec/Encoder/Network",
   "Encode MPEG4 video as RTP packets (RFC 3016)",
   "Wim Taymans <wim@fluendo.com>"
 };
index bc9f87a..cbfc4a4 100644 (file)
@@ -25,7 +25,7 @@
 /* elementfactory information */
 static GstElementDetails gst_rtp_mpaenc_details = {
   "RTP packet parser",
-  "Codec/Parser/Network",
+  "Codec/Encoder/Network",
   "Encode MPEG audio as RTP packets (RFC 2038)",
   "Wim Taymans <wim@fluendo.com>"
 };
index bc9f87a..cbfc4a4 100644 (file)
@@ -25,7 +25,7 @@
 /* elementfactory information */
 static GstElementDetails gst_rtp_mpaenc_details = {
   "RTP packet parser",
-  "Codec/Parser/Network",
+  "Codec/Encoder/Network",
   "Encode MPEG audio as RTP packets (RFC 2038)",
   "Wim Taymans <wim@fluendo.com>"
 };