mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
uridecodebin: do buffering for more uris
Add ssh://, ftp://, sftp://, myth:// to the list of uris that require buffering. Fixes #594020
This commit is contained in:
parent
a69ffb5886
commit
9e83339cf6
1 changed files with 4 additions and 3 deletions
|
@ -143,8 +143,8 @@ enum
|
||||||
};
|
};
|
||||||
|
|
||||||
/* properties */
|
/* properties */
|
||||||
#define DEFAULT_PROP_URI NULL
|
#define DEFAULT_PROP_URI NULL
|
||||||
#define DEFAULT_PROP_SOURCE NULL
|
#define DEFAULT_PROP_SOURCE NULL
|
||||||
#define DEFAULT_CONNECTION_SPEED 0
|
#define DEFAULT_CONNECTION_SPEED 0
|
||||||
#define DEFAULT_CAPS NULL
|
#define DEFAULT_CAPS NULL
|
||||||
#define DEFAULT_SUBTITLE_ENCODING 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.
|
/* 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. */
|
* We have no mechanism yet to figure this out with a query. */
|
||||||
static const gchar *stream_uris[] = { "http://", "mms://", "mmsh://",
|
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 */
|
/* list of URIs that need a queue because they are pretty bursty */
|
||||||
|
|
Loading…
Reference in a new issue