gst/rtp/: Fix description.
authorChristian Schaller <uraeus@gnome.org>
Wed, 8 Nov 2006 01:29:51 +0000 (01:29 +0000)
committerChristian Schaller <uraeus@gnome.org>
Wed, 8 Nov 2006 01:29:51 +0000 (01:29 +0000)
Original commit message from CVS:
* gst/rtp/gstrtpvorbisdepay.c:
* gst/rtp/gstrtpvorbispay.c: (gst_rtp_vorbis_pay_handle_buffer):
Fix description.
Small cleanup in the payloader.

ChangeLog
gst/rtp/gstrtpvorbisdepay.c
gst/rtp/gstrtpvorbispay.c

index b2f0769..dd650fa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,11 @@
-2006-11-08  Christian F.K. Schaller  <set EMAIL_ADDRESS environment variable>
+2006-11-08  Wim Taymans  <wim@fluendo.com>
+
+       * gst/rtp/gstrtpvorbisdepay.c:
+       * gst/rtp/gstrtpvorbispay.c: (gst_rtp_vorbis_pay_handle_buffer):
+       Fix description.
+       Small cleanup in the payloader.
+
+2006-11-08  Wim Taymans  <wim@fluendo.com>
 
        * gst/rtp/Makefile.am:
        * gst/rtp/gstrtp.c: (plugin_init):
index f2434e4..2ffaa35 100644 (file)
@@ -32,7 +32,7 @@ GST_DEBUG_CATEGORY_STATIC (rtpvorbisdepay_debug);
 
 /* elementfactory information */
 static const GstElementDetails gst_rtp_vorbis_depay_details =
-GST_ELEMENT_DETAILS ("RTP packet parser",
+GST_ELEMENT_DETAILS ("RTP packet depayloader",
     "Codec/Depayloader/Network",
     "Extracts Vorbis Audio from RTP packets (draft-01 of RFC XXXX)",
     "Wim Taymans <wim@fluendo.com>");
index af6b951..572590b 100644 (file)
@@ -36,7 +36,7 @@ GST_DEBUG_CATEGORY_STATIC (rtpvorbispay_debug);
 
 /* elementfactory information */
 static const GstElementDetails gst_rtp_vorbispay_details =
-GST_ELEMENT_DETAILS ("RTP packet parser",
+GST_ELEMENT_DETAILS ("RTP packet depayloader",
     "Codec/Payloader/Network",
     "Payload-encode Vorbis audio into RTP packets (draft-01 RFC XXXX)",
     "Wim Taymans <wim@fluendo.com>");
@@ -430,12 +430,12 @@ gst_rtp_vorbis_pay_handle_buffer (GstBaseRTPPayload * basepayload,
       if (G_UNLIKELY (!gst_rtp_vorbis_pay_parse_id (basepayload, data, size)))
         goto parse_id_failed;
       VDT = 1;
-    } else if (data[0] == 5)
-      /* setup */
-      VDT = 1;
-    else if (data[0] == 3) {
+    } else if (data[0] == 3) {
       /* comment */
       VDT = 2;
+    } else if (data[0] == 5) {
+      /* setup */
+      VDT = 1;
     } else
       goto unknown_header;
   } else