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
commit348f2613c0002a1fa2a3e2c8ae17b17489ec0b62 (patch)
treee01f4239ea1a99051c7ee561b520e5010b7ced90 /ext/soup/gstsouphttpsrc.h
parenta745924f244f264eadcc51a83ad258beb5d96500 (diff)
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;