Commit afcdbd2d authored by Jakob Leben's avatar Jakob Leben

input_item: remove b_prefers_tree

Nothing uses it and it is irrelevant after tree form and list form
playlist representations were joined.
parent 873e5edb
......@@ -86,7 +86,6 @@ struct input_item_t
vlc_mutex_t lock; /**< Lock for the item */
uint8_t i_type; /**< Type (file, disc, ... see input_item_type_e) */
bool b_prefers_tree; /**< Do we prefer being displayed as tree*/
bool b_fixed_name; /**< Can the interface change the name ?*/
bool b_error_when_reading;/**< Error When Reading */
};
......
......@@ -858,7 +858,6 @@ input_item_t *input_item_NewWithType( vlc_object_t *p_obj, const char *psz_uri,
p_input->b_fixed_name = false;
p_input->i_type = i_type;
p_input->b_prefers_tree = false;
if( psz_uri )
input_item_SetURI( p_input, psz_uri );
......
......@@ -356,8 +356,6 @@ int playlist_ServicesDiscoveryAdd( playlist_t *p_playlist,
return VLC_EGENERIC;
}
/* We want tree-view for service directory */
p_node->p_input->b_prefers_tree = true;
p_sds->p_sd = p_sd;
p_sds->p_node = p_node;
p_sds->psz_name = strdup( psz_name );
......
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