summaryrefslogtreecommitdiffstats
path: root/ext/soup/gstsouphttpsrc.h
diff options
context:
space:
mode:
authorWouter Cloetens <wouter@mind.be>2008-01-18 05:24:39 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-01-18 05:24:39 +0000
commit46324594283b0e80370460944f2cd0e4bdd5179c (patch)
tree6cd6912eab171275d66c3ba7203ea5e6c5d75a01 /ext/soup/gstsouphttpsrc.h
parentb0e6afa82ecf9b30abd62936db1f8b60972a33d6 (diff)
downloadgst-plugins-bad-46324594283b0e80370460944f2cd0e4bdd5179c.tar.gz
gst-plugins-bad-46324594283b0e80370460944f2cd0e4bdd5179c.tar.bz2
gst-plugins-bad-46324594283b0e80370460944f2cd0e4bdd5179c.zip
ext/soup/gstsouphttpsrc.*: Add support for seeking to souphttpsrc. Fixes bug #502335.
Original commit message from CVS: Patch by: Wouter Cloetens <wouter at mind dot be> * ext/soup/gstsouphttpsrc.c: (gst_souphttp_src_class_init), (gst_souphttp_src_init), (gst_souphttp_src_create), (gst_souphttp_src_is_seekable), (gst_souphttp_src_do_seek), (soup_add_range_header), (soup_got_headers), (soup_got_chunk): * ext/soup/gstsouphttpsrc.h: Add support for seeking to souphttpsrc. Fixes bug #502335.
Diffstat (limited to 'ext/soup/gstsouphttpsrc.h')
-rw-r--r--ext/soup/gstsouphttpsrc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/soup/gstsouphttpsrc.h b/ext/soup/gstsouphttpsrc.h
index 6ed913e3..21aff958 100644
--- a/ext/soup/gstsouphttpsrc.h
+++ b/ext/soup/gstsouphttpsrc.h
@@ -53,6 +53,8 @@ struct _GstSouphttpSrc {
gboolean have_size; /* Received and parsed Content-Length header. */
guint64 content_size; /* Value of Content-Length header. */
guint64 read_position; /* Current position. */
+ gboolean seekable; /* FALSE if the server does not support Range. */
+ guint64 request_position; /* Seek to this position. */
/* Shoutcast/icecast metadata extraction handling. */
gboolean iradio_mode;