[vlc-commits] commit: input_item: remove b_prefers_tree (Jakob Leben )
git at videolan.org
git at videolan.org
Sat Mar 13 17:17:49 CET 2010
vlc | branch: master | Jakob Leben <jleben at videolan.org> | Sat Mar 13 17:06:01 2010 +0100| [afcdbd2da4b1072c0c20c274b15e1177942fc784] | committer: 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.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=afcdbd2da4b1072c0c20c274b15e1177942fc784
---
include/vlc_input_item.h | 1 -
src/input/item.c | 1 -
src/playlist/services_discovery.c | 2 --
3 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/include/vlc_input_item.h b/include/vlc_input_item.h
index 3ad41a6..ca11d09 100644
--- a/include/vlc_input_item.h
+++ b/include/vlc_input_item.h
@@ -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 */
};
diff --git a/src/input/item.c b/src/input/item.c
index 32b5586..8bca6f6 100644
--- a/src/input/item.c
+++ b/src/input/item.c
@@ -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 );
diff --git a/src/playlist/services_discovery.c b/src/playlist/services_discovery.c
index 916f0b5..1155779 100644
--- a/src/playlist/services_discovery.c
+++ b/src/playlist/services_discovery.c
@@ -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 );
More information about the vlc-commits
mailing list