diff options
author | Olivier Crete <tester@tester.ca> | 2008-08-15 17:26:18 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2008-08-15 17:26:18 +0000 |
commit | 87fd8ada3422d22c2e71bbf99b95cb543bbfbe7b (patch) | |
tree | dc9e542f73d31ab481167c837f23d8e3bb4a90ad /gst/rtp/gstrtpvorbispay.c | |
parent | 62491dcb74ca0932b024b57119242add65b877e6 (diff) |
gst/rtp/: Update the vorbis RTP pay/depay to RFC 5215.
Original commit message from CVS:
Patch by: Olivier Crete <tester at tester dot ca>
* gst/rtp/gstrtpvorbisdepay.c: (gst_rtp_vorbis_depay_setcaps),
(gst_rtp_vorbis_depay_process):
* gst/rtp/gstrtpvorbispay.c: (gst_rtp_vorbis_pay_finish_headers):
Update the vorbis RTP pay/depay to RFC 5215.
Fixes #547842.
Diffstat (limited to 'gst/rtp/gstrtpvorbispay.c')
-rw-r--r-- | gst/rtp/gstrtpvorbispay.c | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/gst/rtp/gstrtpvorbispay.c b/gst/rtp/gstrtpvorbispay.c index 65e093af..0c13a09f 100644 --- a/gst/rtp/gstrtpvorbispay.c +++ b/gst/rtp/gstrtpvorbispay.c @@ -32,14 +32,14 @@ GST_DEBUG_CATEGORY_STATIC (rtpvorbispay_debug); #define GST_CAT_DEFAULT (rtpvorbispay_debug) /* references: - * http://svn.xiph.org/trunk/vorbis/doc/draft-ietf-avt-rtp-vorbis-04.txt + * http://www.rfc-editor.org/rfc/rfc5215.txt */ /* elementfactory information */ static const GstElementDetails gst_rtp_vorbispay_details = GST_ELEMENT_DETAILS ("RTP packet depayloader", "Codec/Payloader/Network", - "Payload-encode Vorbis audio into RTP packets (draft-01 RFC XXXX)", + "Payload-encode Vorbis audio into RTP packets (RFC 5215)", "Wim Taymans <wim@fluendo.com>"); static GstStaticPadTemplate gst_rtp_vorbis_pay_src_template = @@ -55,11 +55,6 @@ GST_STATIC_PAD_TEMPLATE ("src", * "encoding-params = (string) <num channels>" * "configuration = (string) ANY" */ - /* All optional parameters - * - * "delivery-method = (string) { inline, in_band, out_band/<specific_name> } " - * "configuration-uri =" - */ ) ); @@ -410,11 +405,7 @@ gst_rtp_vorbis_pay_finish_headers (GstBaseRTPPayload * basepayload) gst_basertppayload_set_options (basepayload, "audio", TRUE, "VORBIS", rtpvorbispay->rate); gst_basertppayload_set_outcaps (basepayload, "encoding-params", G_TYPE_STRING, - cstr, "configuration", G_TYPE_STRING, configuration, - "delivery-method", G_TYPE_STRING, "inline", - /* don't set the other defaults - */ - NULL); + cstr, "configuration", G_TYPE_STRING, configuration, NULL); g_free (cstr); g_free (configuration); |