From 91bff6e2b2ab0cbb021ce57207c583bdd8ba87f9 Mon Sep 17 00:00:00 2001 From: Thomas Guillem Date: Wed, 2 Oct 2024 13:58:38 +0200 Subject: [PATCH] input: item: remove b_preparse_interact --- include/vlc_input_item.h | 3 --- src/input/input.c | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/include/vlc_input_item.h b/include/vlc_input_item.h index c7e144b2e0..978c327a5a 100644 --- a/include/vlc_input_item.h +++ b/include/vlc_input_item.h @@ -130,9 +130,6 @@ struct input_item_t bool b_net; /**< Net: always true for TYPE_STREAM, it depends for others types */ - bool b_preparse_interact; /**< Force interaction with the user when - preparsing.*/ - void *libvlc_owner; /**< LibVLC private data, can only be set before events are registered. */ }; diff --git a/src/input/input.c b/src/input/input.c index 2614790ac2..e09e4f56bb 100644 --- a/src/input/input.c +++ b/src/input/input.c @@ -293,7 +293,7 @@ input_thread_t * input_Create( vlc_object_t *p_parent, input_item_t *p_item, /* Make sure the interaction option is honored */ if( !var_InheritBool( p_input, "interact" ) ) p_input->obj.no_interact = true; - else if( p_item->b_preparse_interact || cfg->interact ) + else if( cfg->interact ) { /* If true, this item was asked explicitly to interact with the user * (via libvlc_MetadataRequest). Sub items created from this input won't