From e0e75f715e4d6594a9804fac7a660f35f3107fd0 Mon Sep 17 00:00:00 2001 From: Christian Schaller Date: Tue, 7 Nov 2006 01:43:06 +0000 Subject: gst/rtp/Makefile.am: We depend on gsttag to generate the vorbis comments. Original commit message from CVS: * gst/rtp/Makefile.am: We depend on gsttag to generate the vorbis comments. * gst/rtp/gstrtpvorbisdepay.c: (gst_rtp_vorbis_depay_parse_configuration), (gst_rtp_vorbis_depay_setcaps), (gst_rtp_vorbis_depay_switch_codebook), (gst_rtp_vorbis_depay_process): * gst/rtp/gstrtpvorbisdepay.h: Parse configuration string in the depayloader. Implement selecting and switching to a new codebook. Receiving vorbis over RTP now works. * gst/rtp/gstrtpvorbispay.c: (gst_rtp_vorbis_pay_reset_packet), (gst_rtp_vorbis_pay_init_packet), (gst_rtp_vorbis_pay_finish_headers), (gst_rtp_vorbis_pay_handle_buffer): * gst/rtp/gstrtpvorbispay.h: Set timestamps on outgoing buffers and RTP packets. Fix configuration string, prepend number of Packet headers. Fix encoding of ident string. Add delivery-method to caps. Streaming vorbis over RTP now works. --- gst/rtp/gstrtpvorbisdepay.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'gst/rtp/gstrtpvorbisdepay.h') diff --git a/gst/rtp/gstrtpvorbisdepay.h b/gst/rtp/gstrtpvorbisdepay.h index b95e9020..35f4d12d 100644 --- a/gst/rtp/gstrtpvorbisdepay.h +++ b/gst/rtp/gstrtpvorbisdepay.h @@ -40,12 +40,20 @@ G_BEGIN_DECLS typedef struct _GstRtpVorbisDepay GstRtpVorbisDepay; typedef struct _GstRtpVorbisDepayClass GstRtpVorbisDepayClass; +typedef struct _GstRtpVorbisConfig { + guint32 ident; + GList *headers; +} GstRtpVorbisConfig; + struct _GstRtpVorbisDepay { GstBaseRTPDepayload parent; - GstAdapter *adapter; - gboolean assembling; + GList *configs; + GstRtpVorbisConfig *config; + + GstAdapter *adapter; + gboolean assembling; }; struct _GstRtpVorbisDepayClass -- cgit