Commit 06dbb781 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

variables: don't use p_liblvc when we ARE p_libvlc

parent 204fbab2
......@@ -1459,7 +1459,7 @@ static int InheritValue( vlc_object_t *p_this, const char *psz_name,
int i_var;
variable_t *p_var;
if( p_this->p_parent || p_this->p_libvlc )
if( p_this->p_parent || ( p_this->p_libvlc && p_this != p_this->p_libvlc ) )
{
vlc_object_internals_t *p_priv;
......
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