From b840a153aff1d4bad63dadd9c4824a231643abe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Moutte?= Date: Sat, 29 Apr 2006 15:36:16 +0000 Subject: ext/neon/gstneonhttpsrc.*: added iradio-mode support as in gnomevfssrc to enable connections with icydemux that will ... Original commit message from CVS: * ext/neon/gstneonhttpsrc.c: * ext/neon/gstneonhttpsrc.h: added iradio-mode support as in gnomevfssrc to enable connections with icydemux that will send title tag messages on shoutcast/icecast streams. I've also added iradio properties iradio-name, iradio-genre, iradio-url. added user-agent property because some shoutcast streams don't return data if the GET requests don't have a User-Agent. * win32/common/libgstneon.dsp: use debug version of libneon in debug mode --- ext/neon/gstneonhttpsrc.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ext/neon/gstneonhttpsrc.h') diff --git a/ext/neon/gstneonhttpsrc.h b/ext/neon/gstneonhttpsrc.h index ce749cc9..4f20e0ef 100644 --- a/ext/neon/gstneonhttpsrc.h +++ b/ext/neon/gstneonhttpsrc.h @@ -55,6 +55,7 @@ struct _GstNeonhttpSrc { ne_uri uri; gchar *uristr; ne_uri proxy; + gchar *user_agent; gboolean ishttps; @@ -64,6 +65,13 @@ struct _GstNeonhttpSrc { gboolean eos; + /* icecast/audiocast metadata extraction handling */ + gboolean iradio_mode; + gchar *iradio_name; + gchar *iradio_genre; + gchar *iradio_url; + GstCaps *icy_caps; + gint icy_metaint; }; struct _GstNeonhttpSrcClass { -- cgit v1.2.1