vlc | branch: master | Hugo Beauzée-Luyssen <[email protected]> | Wed Jun 26 17:01:59 2019 +0200| [7178585fade97bb4b0c1756cc00220ed08bc9239] | committer: Hugo Beauzée-Luyssen
input: Create: Invert b_preparsing check Now that there is more than 2 possible modes (regular playback, preparsing, thumbnailing) it makes more sense to check for an explicit match. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7178585fade97bb4b0c1756cc00220ed08bc9239 --- src/input/input.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/input/input.c b/src/input/input.c index ab96f29afa..dc4c53602b 100644 --- a/src/input/input.c +++ b/src/input/input.c @@ -350,7 +350,12 @@ static input_thread_t *Create( vlc_object_t *p_parent, /* setup the preparse depth of the item * if we are preparsing, use the i_preparse_depth of the parent item */ - if( !priv->b_preparsing ) + if( priv->b_preparsing ) + { + p_input->obj.logger = NULL; + p_input->obj.no_interact = true; + } + else { char *psz_rec = var_InheritString( p_parent, "recursive" ); @@ -366,11 +371,6 @@ static input_thread_t *Create( vlc_object_t *p_parent, } else p_item->i_preparse_depth = -1; } - else - { - p_input->obj.logger = NULL; - p_input->obj.no_interact = true; - } /* Make sure the interaction option is honored */ if( !var_InheritBool( p_input, "interact" ) ) _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
