]> git.sesse.net Git - vlc/commitdiff
Removed useless b_quick parameter in stream_AccessNew.
authorLaurent Aimar <fenrir@videolan.org>
Fri, 12 Dec 2008 23:33:56 +0000 (00:33 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Sun, 14 Dec 2008 15:39:07 +0000 (16:39 +0100)
src/input/input.c
src/input/stream.c
src/input/stream.h

index 8c6d25a6beeeabcb9a705a45e296c5a6a5fa1139..a56ece26cc390bbd8371e74b11adf2688a51af10 100644 (file)
@@ -2497,7 +2497,7 @@ static int InputSourceInit( input_thread_t *p_input,
         }
 
         /* Create the stream_t */
-        in->p_stream = stream_AccessNew( in->p_access, p_input->b_preparsing );
+        in->p_stream = stream_AccessNew( in->p_access );
 
         /* Restore old value */
         if( !psz_input_list )
index b50a1a3bb3796455b60749e2c8df8d4d7670b4ab..128a084afb23d5c6f6ee4676de4c4d9e26720745 100644 (file)
@@ -182,9 +182,6 @@ struct stream_sys_t
     access_entry_t **list;
     int            i_list_index;
     access_t       *p_list_access;
-
-    /* Preparse mode ? */
-    bool      b_quick;
 };
 
 /* Method 1: */
@@ -269,7 +266,7 @@ stream_t *__stream_UrlNew( vlc_object_t *p_parent, const char *psz_url )
         return NULL;
     }
 
-    if( !( p_res = stream_AccessNew( p_access, true ) ) )
+    if( !( p_res = stream_AccessNew( p_access ) ) )
     {
         access_Delete( p_access );
         return NULL;
@@ -279,7 +276,7 @@ stream_t *__stream_UrlNew( vlc_object_t *p_parent, const char *psz_url )
     return p_res;
 }
 
-stream_t *stream_AccessNew( access_t *p_access, bool b_quick )
+stream_t *stream_AccessNew( access_t *p_access )
 {
     stream_t *s = stream_CommonNew( VLC_OBJECT(p_access) );
     stream_sys_t *p_sys;
@@ -325,8 +322,6 @@ stream_t *stream_AccessNew( access_t *p_access, bool b_quick )
     p_sys->i_list_index = 0;
     p_sys->p_list_access = 0;
 
-    p_sys->b_quick = b_quick;
-
     /* Get the additional list of inputs if any (for concatenation) */
     if( (psz_list = var_CreateGetString( s, "input-list" )) && *psz_list )
     {
index 74e29c1f57fc5fbb8152a704b0426ac176d2d4df..4d3e6189c248abdffd8db1b0e9921db2f27f0bb0 100644 (file)
@@ -45,7 +45,7 @@ stream_t *stream_CommonNew( vlc_object_t * );
 void stream_CommonDelete( stream_t * );
 
 /* */
-stream_t *stream_AccessNew( access_t *p_access, bool );
+stream_t *stream_AccessNew( access_t *p_access );
 
 /* */
 stream_t *stream_FilterNew( stream_t *p_source,