summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtpvorbisdepay.h
diff options
context:
space:
mode:
authorChristian Schaller <uraeus@gnome.org>2006-11-07 01:43:06 +0000
committerChristian Schaller <uraeus@gnome.org>2006-11-07 01:43:06 +0000
commite0e75f715e4d6594a9804fac7a660f35f3107fd0 (patch)
treea703f368f0e7d38454ba48d036b4aaa9dbceea68 /gst/rtp/gstrtpvorbisdepay.h
parent53ddac062d90664aead98f557ca0b4b8861b22fe (diff)
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.
Diffstat (limited to 'gst/rtp/gstrtpvorbisdepay.h')
-rw-r--r--gst/rtp/gstrtpvorbisdepay.h12
1 files changed, 10 insertions, 2 deletions
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