[vlc-devel] commit: Removed useless b_quick parameter in stream_AccessNew. ( Laurent Aimar )
git version control
git at videolan.org
Sun Dec 14 16:40:08 CET 2008
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sat Dec 13 00:33:56 2008 +0100| [8e2e5e134ac5b0200ca143def62bfe1112c19c3d] | committer: Laurent Aimar
Removed useless b_quick parameter in stream_AccessNew.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8e2e5e134ac5b0200ca143def62bfe1112c19c3d
---
src/input/input.c | 2 +-
src/input/stream.c | 9 ++-------
src/input/stream.h | 2 +-
3 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/src/input/input.c b/src/input/input.c
index 8c6d25a..a56ece2 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -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 )
diff --git a/src/input/stream.c b/src/input/stream.c
index b50a1a3..128a084 100644
--- a/src/input/stream.c
+++ b/src/input/stream.c
@@ -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 )
{
diff --git a/src/input/stream.h b/src/input/stream.h
index 74e29c1..4d3e618 100644
--- a/src/input/stream.h
+++ b/src/input/stream.h
@@ -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,
More information about the vlc-devel
mailing list