Commit 8e2e5e13 authored by Laurent Aimar's avatar Laurent Aimar

Removed useless b_quick parameter in stream_AccessNew.

parent ed7ac351
...@@ -2497,7 +2497,7 @@ static int InputSourceInit( input_thread_t *p_input, ...@@ -2497,7 +2497,7 @@ static int InputSourceInit( input_thread_t *p_input,
} }
/* Create the stream_t */ /* 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 */ /* Restore old value */
if( !psz_input_list ) if( !psz_input_list )
......
...@@ -182,9 +182,6 @@ struct stream_sys_t ...@@ -182,9 +182,6 @@ struct stream_sys_t
access_entry_t **list; access_entry_t **list;
int i_list_index; int i_list_index;
access_t *p_list_access; access_t *p_list_access;
/* Preparse mode ? */
bool b_quick;
}; };
/* Method 1: */ /* Method 1: */
...@@ -269,7 +266,7 @@ stream_t *__stream_UrlNew( vlc_object_t *p_parent, const char *psz_url ) ...@@ -269,7 +266,7 @@ stream_t *__stream_UrlNew( vlc_object_t *p_parent, const char *psz_url )
return NULL; return NULL;
} }
if( !( p_res = stream_AccessNew( p_access, true ) ) ) if( !( p_res = stream_AccessNew( p_access ) ) )
{ {
access_Delete( p_access ); access_Delete( p_access );
return NULL; return NULL;
...@@ -279,7 +276,7 @@ stream_t *__stream_UrlNew( vlc_object_t *p_parent, const char *psz_url ) ...@@ -279,7 +276,7 @@ stream_t *__stream_UrlNew( vlc_object_t *p_parent, const char *psz_url )
return p_res; 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_t *s = stream_CommonNew( VLC_OBJECT(p_access) );
stream_sys_t *p_sys; stream_sys_t *p_sys;
...@@ -325,8 +322,6 @@ stream_t *stream_AccessNew( access_t *p_access, bool b_quick ) ...@@ -325,8 +322,6 @@ stream_t *stream_AccessNew( access_t *p_access, bool b_quick )
p_sys->i_list_index = 0; p_sys->i_list_index = 0;
p_sys->p_list_access = 0; p_sys->p_list_access = 0;
p_sys->b_quick = b_quick;
/* Get the additional list of inputs if any (for concatenation) */ /* Get the additional list of inputs if any (for concatenation) */
if( (psz_list = var_CreateGetString( s, "input-list" )) && *psz_list ) if( (psz_list = var_CreateGetString( s, "input-list" )) && *psz_list )
{ {
......
...@@ -45,7 +45,7 @@ stream_t *stream_CommonNew( vlc_object_t * ); ...@@ -45,7 +45,7 @@ stream_t *stream_CommonNew( vlc_object_t * );
void stream_CommonDelete( stream_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, stream_t *stream_FilterNew( stream_t *p_source,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment