From 5109e0d6cb9fbe8cf5475149eb974453c25e379f Mon Sep 17 00:00:00 2001 From: Christian Schaller Date: Wed, 8 Nov 2006 01:29:51 +0000 Subject: 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. --- gst/rtp/gstrtpvorbisdepay.c | 2 +- gst/rtp/gstrtpvorbispay.c | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'gst/rtp') 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 "); 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 "); @@ -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 -- cgit