]> git.sesse.net Git - vlc/commitdiff
System knows better whether we can seek.
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Thu, 5 Feb 2009 16:40:15 +0000 (18:40 +0200)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Thu, 5 Feb 2009 16:40:15 +0000 (18:40 +0200)
modules/access/file.c

index dd5705eab62630c979db5c6990e95a7ed187f458..af906877c69ae6357d08ef638103bc46ebcd11b4 100644 (file)
@@ -130,15 +130,9 @@ static int Open( vlc_object_t *p_this )
     p_sys->i_nb_reads = 0;
 
     if (!strcasecmp (p_access->psz_access, "stream"))
-    {
-        p_sys->b_seekable = false;
         p_sys->b_pace_control = false;
-    }
     else
-    {
-        p_sys->b_seekable = true;
         p_sys->b_pace_control = true;
-    }
 
     /* Open file */
     msg_Dbg (p_access, "opening file `%s'", p_access->psz_path);