summaryrefslogtreecommitdiffstats
path: root/ext/neon/gstneonhttpsrc.h
diff options
context:
space:
mode:
authorSébastien Moutte <sebastien@moutte.net>2006-04-29 15:36:16 +0000
committerSébastien Moutte <sebastien@moutte.net>2006-04-29 15:36:16 +0000
commitb840a153aff1d4bad63dadd9c4824a231643abe8 (patch)
treedb508b9c54a359597871e81cf5ed3b68607c830f /ext/neon/gstneonhttpsrc.h
parentb203f4cee76075d43055e3b1d7dc31c444c28837 (diff)
downloadgst-plugins-bad-b840a153aff1d4bad63dadd9c4824a231643abe8.tar.gz
gst-plugins-bad-b840a153aff1d4bad63dadd9c4824a231643abe8.tar.bz2
gst-plugins-bad-b840a153aff1d4bad63dadd9c4824a231643abe8.zip
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
Diffstat (limited to 'ext/neon/gstneonhttpsrc.h')
-rw-r--r--ext/neon/gstneonhttpsrc.h8
1 files changed, 8 insertions, 0 deletions
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 {