[vlc-devel] commit: System knows better whether we can seek. ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Feb 5 17:40:43 CET 2009


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Thu Feb  5 18:40:15 2009 +0200| [ecdec76a4bbb65cd24f4b165c20673494d3200bd] | committer: Rémi Denis-Courmont 

System knows better whether we can seek.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ecdec76a4bbb65cd24f4b165c20673494d3200bd
---

 modules/access/file.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/modules/access/file.c b/modules/access/file.c
index dd5705e..af90687 100644
--- a/modules/access/file.c
+++ b/modules/access/file.c
@@ -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);




More information about the vlc-devel mailing list