diff options
author | Christian Schaller <uraeus@gnome.org> | 2006-11-08 01:29:51 +0000 |
---|---|---|
committer | Christian Schaller <uraeus@gnome.org> | 2006-11-08 01:29:51 +0000 |
commit | 5109e0d6cb9fbe8cf5475149eb974453c25e379f (patch) | |
tree | ebb645904d894dd3e29ac849c9c926c240d28b92 | |
parent | 2ed1cb8ac258a5fcdf89b2f29e72fcf977b79c75 (diff) |
gst/rtp/: Fix description.
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.
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | gst/rtp/gstrtpvorbisdepay.c | 2 | ||||
-rw-r--r-- | gst/rtp/gstrtpvorbispay.c | 10 |
3 files changed, 14 insertions, 7 deletions
@@ -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): diff --git a/gst/rtp/gstrtpvorbisdepay.c b/gst/rtp/gstrtpvorbisdepay.c index f2434e41..2ffaa356 100644 --- a/gst/rtp/gstrtpvorbisdepay.c +++ b/gst/rtp/gstrtpvorbisdepay.c @@ -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>"); diff --git a/gst/rtp/gstrtpvorbispay.c b/gst/rtp/gstrtpvorbispay.c index af6b951b..572590b5 100644 --- a/gst/rtp/gstrtpvorbispay.c +++ b/gst/rtp/gstrtpvorbispay.c @@ -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 |