diff options
-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 |