summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorChristian Schaller <uraeus@gnome.org>2006-11-08 01:29:51 +0000
committerChristian Schaller <uraeus@gnome.org>2006-11-08 01:29:51 +0000
commit5109e0d6cb9fbe8cf5475149eb974453c25e379f (patch)
treeebb645904d894dd3e29ac849c9c926c240d28b92 /gst
parent2ed1cb8ac258a5fcdf89b2f29e72fcf977b79c75 (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.
Diffstat (limited to 'gst')
-rw-r--r--gst/rtp/gstrtpvorbisdepay.c2
-rw-r--r--gst/rtp/gstrtpvorbispay.c10
2 files changed, 6 insertions, 6 deletions
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