gst-plugins-good/gst/rtp/: Fixed payload range in payloder caps. Removed payload...
authorPhilippe Kalaf <philippe.kalaf@collabora.co.uk>
Wed, 14 Dec 2005 18:07:16 +0000 (18:07 +0000)
committerPhilippe Kalaf <philippe.kalaf@collabora.co.uk>
Wed, 14 Dec 2005 18:07:16 +0000 (18:07 +0000)
Original commit message from CVS:
2005-12-14  Philippe Khalaf  <burger@speedy.org>

* gst-plugins-good/gst/rtp/gstasteriskh263.c:
* gst-plugins-good/gst/rtp/gstrtpamrdepay.c:
* gst-plugins-good/gst/rtp/gstrtpamrpay.c:
* gst-plugins-good/gst/rtp/gstrtpg711depay.c:
* gst-plugins-good/gst/rtp/gstrtpg711depay.c:
* gst-plugins-good/gst/rtp/gstrtpgsmdepay.c:
* gst-plugins-good/gst/rtp/gstrtph263pay.c:
* gst-plugins-good/gst/rtp/gstrtph263pdepay.c:
* gst-plugins-good/gst/rtp/gstrtph263ppay.c:
* gst-plugins-good/gst/rtp/gstrtpmp4vdepay.c:
* gst-plugins-good/gst/rtp/gstrtpmp4vpay.c:
* gst-plugins-good/gst/rtp/gstrtpmpadepay.c:
* gst-plugins-good/gst/rtp/gstrtpmpapay.c:
* gst-plugins-good/gst/rtp/README:
Fixed payload range in payloder caps. Removed payload range completly from
depayloaders as they don't require payload type in their caps. In effect,
there isn't any specific payload type for any given codec, only suggestions.
Fixes bug #324011.

14 files changed:
ChangeLog
gst/rtp/README
gst/rtp/gstasteriskh263.c
gst/rtp/gstrtpamrdepay.c
gst/rtp/gstrtpamrpay.c
gst/rtp/gstrtpg711depay.c
gst/rtp/gstrtpgsmdepay.c
gst/rtp/gstrtph263pay.c
gst/rtp/gstrtph263pdepay.c
gst/rtp/gstrtph263ppay.c
gst/rtp/gstrtpmp4vdepay.c
gst/rtp/gstrtpmp4vpay.c
gst/rtp/gstrtpmpadepay.c
gst/rtp/gstrtpmpapay.c

index 17c276d..60f6186 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,24 @@
+2005-12-14  Philippe Khalaf  <burger@speedy.org>
+
+       * gst-plugins-good/gst/rtp/gstasteriskh263.c:
+       * gst-plugins-good/gst/rtp/gstrtpamrdepay.c:
+       * gst-plugins-good/gst/rtp/gstrtpamrpay.c:
+       * gst-plugins-good/gst/rtp/gstrtpg711depay.c:
+       * gst-plugins-good/gst/rtp/gstrtpg711depay.c:
+       * gst-plugins-good/gst/rtp/gstrtpgsmdepay.c:
+       * gst-plugins-good/gst/rtp/gstrtph263pay.c:
+       * gst-plugins-good/gst/rtp/gstrtph263pdepay.c:
+       * gst-plugins-good/gst/rtp/gstrtph263ppay.c:
+       * gst-plugins-good/gst/rtp/gstrtpmp4vdepay.c:
+       * gst-plugins-good/gst/rtp/gstrtpmp4vpay.c:
+       * gst-plugins-good/gst/rtp/gstrtpmpadepay.c:
+       * gst-plugins-good/gst/rtp/gstrtpmpapay.c:
+       * gst-plugins-good/gst/rtp/README:
+       Fixed payload range in payloder caps. Removed payload range completly from
+       depayloaders as they don't require payload type in their caps. In effect,
+       there isn't any specific payload type for any given codec, only suggestions.
+       Fixes bug #324011.
+
 2005-12-13  Julien MOUTTE  <julien@moutte.net>
 
        * gst/videomixer/videomixer.c: (gst_videomixer_init),
index ed1a27b..6b16ab1 100644 (file)
@@ -9,7 +9,7 @@ The following fields can or must (*) be specified in the structure:
  * media: (String) [ "audio", "video", "application", "data", "control" ]
      Defined in RFC 2327 in the SDP media announcement field.
 
- * payload: (int) [0, 255]
+ * payload: (int) [0, 127]
      For audio and video, these will normally be a media payload type as 
      defined in the RTP Audio/Video Profile. For dynamicaly allocated 
      payload types, this value will be >= 96 and the encoding-name must be
index cb331ba..9597261 100644 (file)
@@ -74,7 +74,7 @@ GST_STATIC_PAD_TEMPLATE ("sink",
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS ("application/x-rtp, "
         "media = (string) \"video\", "
-        "payload = (int) [ 96, 255 ], "
+        "payload = (int) [ 96, 127 ], "
         "clock-rate = (int) 90000, " "encoding-name = (string) \"H263-1998\"")
     );
 
index c4bc9f4..2314c36 100644 (file)
@@ -59,7 +59,6 @@ GST_STATIC_PAD_TEMPLATE ("sink",
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS ("application/x-rtp, "
         "media = (string) \"audio\", "
-        "payload = (int) [ 96, 255 ], "
         "clock-rate = (int) 8000, "
         "encoding-name = (string) \"AMR\", "
         "encoding-params = (string) \"1\", "
index 80f4b85..8dfed71 100644 (file)
@@ -50,7 +50,7 @@ GST_STATIC_PAD_TEMPLATE ("src",
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS ("application/x-rtp, "
         "media = (string) \"audio\", "
-        "payload = (int) [ 96, 255 ], "
+        "payload = (int) [ 96, 127 ], "
         "clock-rate = (int) 8000, "
         "encoding-name = (string) \"AMR\", "
         "encoding-params = (string) \"1\", "
index bd96918..e4cc6ce 100644 (file)
@@ -48,12 +48,10 @@ static GstStaticPadTemplate gst_rtp_g711_depay_sink_template =
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS ("application/x-rtp, "
         "media = (string) \"audio\", "
-        "payload = (int) [ 0, 255 ], "
         "clock-rate = (int) 8000, "
         "encoding-name = (string) \"PCMU\"; "
         "application/x-rtp, "
         "media = (string) \"audio\", "
-        "payload = (int) [ 0, 255 ], "
         "clock-rate = (int) 8000, " "encoding-name = (string) \"PCMA\"")
 
     );
index a6cc5d4..6f5fb77 100644 (file)
@@ -49,7 +49,6 @@ GST_STATIC_PAD_TEMPLATE ("sink",
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS ("application/x-rtp, "
         "media = (string) \"audio\", "
-        "payload = (int) [ 0, 255 ], "
         "clock-rate = (int) 8000, " "encoding-name = (string) \"GSM\"")
     );
 
index 0f9ae3a..7847772 100644 (file)
@@ -159,7 +159,7 @@ GST_STATIC_PAD_TEMPLATE ("src",
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS ("application/x-rtp, "
         "media = (string) \"video\", "
-        "payload = (int) [ 96, 255 ], "
+        "payload = (int) [ 96, 127 ], "
         "clock-rate = (int) 90000, " "encoding-name = (string) \"H263-1998\"")
     );
 
index 9e8d06d..a6af0ce 100644 (file)
@@ -55,7 +55,6 @@ GST_STATIC_PAD_TEMPLATE ("sink",
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS ("application/x-rtp, "
         "media = (string) \"video\", "
-        "payload = (int) [ 96, 255 ], "
         "clock-rate = (int) 90000, " "encoding-name = (string) \"H263-1998\"")
     );
 
index d41e5fa..c35de19 100644 (file)
@@ -43,7 +43,7 @@ GST_STATIC_PAD_TEMPLATE ("src",
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS ("application/x-rtp, "
         "media = (string) \"video\", "
-        "payload = (int) [ 96, 255 ], "
+        "payload = (int) [ 96, 127 ], "
         "clock-rate = (int) 90000, " "encoding-name = (string) \"H263-1998\"")
     );
 
index aceea3c..9cd25ae 100644 (file)
@@ -56,7 +56,6 @@ GST_STATIC_PAD_TEMPLATE ("sink",
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS ("application/x-rtp, "
         "media = (string) \"video\", "
-        "payload = (int) [ 96, 255 ], "
         "clock-rate = (int) [1, MAX ], " "encoding-name = (string) \"MP4V-ES\""
         /* All optional parameters
          *
index e3dc6b4..91ef88d 100644 (file)
@@ -44,7 +44,7 @@ GST_STATIC_PAD_TEMPLATE ("src",
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS ("application/x-rtp, "
         "media = (string) \"video\", "
-        "payload = (int) [ 96, 255 ], "
+        "payload = (int) [ 96, 127 ], "
         "clock-rate = (int) [1, MAX ], " "encoding-name = (string) \"MP4V-ES\""
         /* two string params
          *
index d6c6e50..3a6e7fe 100644 (file)
@@ -55,7 +55,6 @@ GST_STATIC_PAD_TEMPLATE ("sink",
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS ("application/x-rtp, "
         "media = (string) \"audio\", "
-        "payload = (int) [ 96, 255 ], "
         "clock-rate = (int) 90000, " "encoding-name = (string) \"MPA\"")
     );
 
index 4b13c7d..0979d3f 100644 (file)
@@ -43,7 +43,7 @@ GST_STATIC_PAD_TEMPLATE ("src",
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS ("application/x-rtp, "
         "media = (string) \"audio\", "
-        "payload = (int) [ 96, 255 ], "
+        "payload = (int) [ 96, 127 ], "
         "clock-rate = (int) 90000, " "encoding-name = (string) \"MPA\"")
     );