Removed a check (see that the file exists locally ??) to enable network streaming with gnomevfssrc again.

Original commit message from CVS:
Removed a check (see that the file exists locally ??) to enable network
streaming with gnomevfssrc again.
This commit is contained in:
Wim Taymans 2001-06-16 13:24:26 +00:00
parent 398dde60f4
commit e7ceea587b

View file

@ -388,11 +388,6 @@ gst_play_set_uri (GstPlay *play, const guchar *uri)
if (priv->uri)
g_free (priv->uri);
/* see if the file actually exists */
file = fopen (uri, "r");
if (!file)
return GST_PLAY_CANNOT_PLAY;
/* see if it looks like an URI */
if ((uriloc = strstr (uri, ":/"))) {
priv->src = gst_elementfactory_make ("gnomevfssrc", "srcelement");