[vlc-devel] commit: Honor the nointeract config option (Gildas Bazin )
git version control
git at videolan.org
Mon Feb 8 00:21:05 CET 2010
vlc | branch: master | Gildas Bazin <gibalou at videolan.org> | Sun Feb 7 23:20:15 2010 +0000| [142203dbd017af3939bc3c545fcdc577f5dc7f6c] | committer: Gildas Bazin
Honor the nointeract config option
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=142203dbd017af3939bc3c545fcdc577f5dc7f6c
---
src/input/input.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/input/input.c b/src/input/input.c
index 4d13814..ff7a006 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -473,6 +473,10 @@ static input_thread_t *Create( vlc_object_t *p_parent, input_item_t *p_item,
if( p_input->b_preparsing )
p_input->i_flags |= OBJECT_FLAGS_QUIET | OBJECT_FLAGS_NOINTERACT;
+ /* Make sure the interaction option is honored */
+ if( !var_InheritBool( p_input, "interact" ) )
+ p_input->i_flags |= OBJECT_FLAGS_NOINTERACT;
+
/* */
memset( &p_input->p->counters, 0, sizeof( p_input->p->counters ) );
vlc_mutex_init( &p_input->p->counters.counters_lock );
More information about the vlc-devel
mailing list