diff --git a/ChangeLog b/ChangeLog index 042d5f3471..db2ec854f4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-02-11 Tim-Philipp Müller + + * ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_check_get_range): + * ext/gnomevfs/gstgnomevfsuri.c: (gst_gnomevfs_get_supported_uris): + Add support for https protocol. Fixes #510229. + 2008-02-11 Julien Moutte Patch by: Alan Peevers diff --git a/ext/gnomevfs/gstgnomevfssrc.c b/ext/gnomevfs/gstgnomevfssrc.c index ac2b0cf7a0..21a7200a24 100644 --- a/ext/gnomevfs/gstgnomevfssrc.c +++ b/ext/gnomevfs/gstgnomevfssrc.c @@ -725,7 +725,7 @@ gst_gnome_vfs_src_check_get_range (GstBaseSrc * basesrc) if (protocol == NULL) goto undecided; - if (strcmp (protocol, "http") == 0) { + if (strcmp (protocol, "http") == 0 || strcmp (protocol, "https") == 0) { GST_LOG_OBJECT (src, "blacklisted protocol '%s', no random access possible" " (URI=%s)", protocol, GST_STR_NULL (src->uri_name)); return FALSE; diff --git a/ext/gnomevfs/gstgnomevfsuri.c b/ext/gnomevfs/gstgnomevfsuri.c index 1ee59d7b19..91f268f8ba 100644 --- a/ext/gnomevfs/gstgnomevfsuri.c +++ b/ext/gnomevfs/gstgnomevfsuri.c @@ -35,9 +35,10 @@ gchar ** gst_gnomevfs_get_supported_uris (void) { - GnomeVFSURI *uri; + /* no dav/davs in the list, because they don't appear to be reliable enough */ const gchar *uris[] = { "http://localhost/bla", + "https://localhost/bla", "file:///bla", "smb://localhost/bla", "ftp://localhost/bla", @@ -46,6 +47,7 @@ gst_gnomevfs_get_supported_uris (void) "ssh://localhost/bla", "burn://" }; + GnomeVFSURI *uri; gchar **result; gint n, r = 0;