Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
1f26dd3f
Commit
1f26dd3f
authored
Apr 22, 2008
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused option: b_prefers_tree
parent
02d6e6ab
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
+3
-5
include/vlc_input.h
include/vlc_input.h
+0
-1
src/input/item.c
src/input/item.c
+0
-1
src/playlist/tree.c
src/playlist/tree.c
+3
-3
No files found.
include/vlc_input.h
View file @
1f26dd3f
...
@@ -72,7 +72,6 @@ struct input_item_t
...
@@ -72,7 +72,6 @@ struct input_item_t
mtime_t
i_duration
;
/**< Duration in milliseconds*/
mtime_t
i_duration
;
/**< Duration in milliseconds*/
uint8_t
i_type
;
/**< Type (file, disc, ...) */
uint8_t
i_type
;
/**< Type (file, disc, ...) */
bool
b_prefers_tree
;
/**< Do we prefer being displayed as tree*/
int
i_categories
;
/**< Number of info categories */
int
i_categories
;
/**< Number of info categories */
info_category_t
**
pp_categories
;
/**< Pointer to the first info category */
info_category_t
**
pp_categories
;
/**< Pointer to the first info category */
...
...
src/input/item.c
View file @
1f26dd3f
...
@@ -352,7 +352,6 @@ input_item_t *input_ItemNewWithType( vlc_object_t *p_obj, const char *psz_uri,
...
@@ -352,7 +352,6 @@ input_item_t *input_ItemNewWithType( vlc_object_t *p_obj, const char *psz_uri,
p_input
->
psz_uri
=
NULL
;
p_input
->
psz_uri
=
NULL
;
p_input
->
i_type
=
i_type
;
p_input
->
i_type
=
i_type
;
p_input
->
b_prefers_tree
=
false
;
if
(
p_input
->
i_type
==
ITEM_TYPE_UNKNOWN
)
if
(
p_input
->
i_type
==
ITEM_TYPE_UNKNOWN
)
GuessType
(
p_input
);
GuessType
(
p_input
);
...
...
src/playlist/tree.c
View file @
1f26dd3f
...
@@ -329,8 +329,8 @@ playlist_item_t * playlist_GetPreferredNode( playlist_t *p_playlist,
...
@@ -329,8 +329,8 @@ playlist_item_t * playlist_GetPreferredNode( playlist_t *p_playlist,
int
i
;
int
i
;
if
(
p_node
->
p_parent
==
p_playlist
->
p_root_category
)
if
(
p_node
->
p_parent
==
p_playlist
->
p_root_category
)
{
{
if
(
p_playlist
->
b_always_tree
||
if
(
p_playlist
->
b_always_tree
)
p_node
->
p_input
->
b_prefers_tree
)
return
p_node
;
return
p_node
;
for
(
i
=
0
;
i
<
p_playlist
->
p_root_onelevel
->
i_children
;
i
++
)
for
(
i
=
0
;
i
<
p_playlist
->
p_root_onelevel
->
i_children
;
i
++
)
{
{
if
(
p_playlist
->
p_root_onelevel
->
pp_children
[
i
]
->
p_input
->
i_id
==
if
(
p_playlist
->
p_root_onelevel
->
pp_children
[
i
]
->
p_input
->
i_id
==
...
@@ -340,7 +340,7 @@ playlist_item_t * playlist_GetPreferredNode( playlist_t *p_playlist,
...
@@ -340,7 +340,7 @@ playlist_item_t * playlist_GetPreferredNode( playlist_t *p_playlist,
}
}
else
if
(
p_node
->
p_parent
==
p_playlist
->
p_root_onelevel
)
else
if
(
p_node
->
p_parent
==
p_playlist
->
p_root_onelevel
)
{
{
if
(
p_playlist
->
b_never_tree
||
!
p_node
->
p_input
->
b_prefers_tree
)
if
(
p_playlist
->
b_never_tree
)
return
p_node
;
return
p_node
;
for
(
i
=
0
;
i
<
p_playlist
->
p_root_category
->
i_children
;
i
++
)
for
(
i
=
0
;
i
<
p_playlist
->
p_root_category
->
i_children
;
i
++
)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment