summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2009-09-04 11:29:55 +0200
committerWim Taymans <wim@metal.(none)>2009-09-04 11:33:04 +0200
commit9e83339cf6b2a462b9c051e3bfa2945fe1227981 (patch)
treee72c44d16bb74fd8fb3351d2a0c7602016947d95
parenta69ffb5886e3c3b2d73d736644afd81f91753e3f (diff)
uridecodebin: do buffering for more uris
Add ssh://, ftp://, sftp://, myth:// to the list of uris that require buffering. Fixes #594020
-rw-r--r--gst/playback/gsturidecodebin.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gst/playback/gsturidecodebin.c b/gst/playback/gsturidecodebin.c
index e7c5b6c68..69af426f2 100644
--- a/gst/playback/gsturidecodebin.c
+++ b/gst/playback/gsturidecodebin.c
@@ -143,8 +143,8 @@ enum
};
/* properties */
-#define DEFAULT_PROP_URI NULL
-#define DEFAULT_PROP_SOURCE NULL
+#define DEFAULT_PROP_URI NULL
+#define DEFAULT_PROP_SOURCE NULL
#define DEFAULT_CONNECTION_SPEED 0
#define DEFAULT_CAPS NULL
#define DEFAULT_SUBTITLE_ENCODING NULL
@@ -788,7 +788,8 @@ array_has_uri_value (const gchar * values[], const gchar * value)
/* list of URIs that we consider to be streams and that need buffering.
* We have no mechanism yet to figure this out with a query. */
static const gchar *stream_uris[] = { "http://", "mms://", "mmsh://",
- "mmsu://", "mmst://", "fd://", NULL
+ "mmsu://", "mmst://", "fd://", "myth://", "ssh://", "ftp://", "sftp://",
+ NULL
};
/* list of URIs that need a queue because they are pretty bursty */