Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
1df015be
Commit
1df015be
authored
Sep 28, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist: b_tree is private.
parent
6bd606ac
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
include/vlc_playlist.h
include/vlc_playlist.h
+0
-2
src/playlist/engine.c
src/playlist/engine.c
+1
-1
src/playlist/playlist_internal.h
src/playlist/playlist_internal.h
+2
-0
src/playlist/tree.c
src/playlist/tree.c
+2
-2
No files found.
include/vlc_playlist.h
View file @
1df015be
...
@@ -177,8 +177,6 @@ struct playlist_t
...
@@ -177,8 +177,6 @@ struct playlist_t
playlist_item_t
*
p_local_onelevel
;
/** < "Playlist" in ONELEVEL view */
playlist_item_t
*
p_local_onelevel
;
/** < "Playlist" in ONELEVEL view */
playlist_item_t
*
p_ml_onelevel
;
/** < "Library" in ONELEVEL view */
playlist_item_t
*
p_ml_onelevel
;
/** < "Library" in ONELEVEL view */
bool
b_tree
;
/**< Display as a tree */
bool
b_doing_ml
;
/**< Doing media library stuff,
bool
b_doing_ml
;
/**< Doing media library stuff,
* get quicker */
* get quicker */
bool
b_auto_preparse
;
bool
b_auto_preparse
;
...
...
src/playlist/engine.c
View file @
1df015be
...
@@ -94,7 +94,7 @@ playlist_t * playlist_Create( vlc_object_t *p_parent )
...
@@ -94,7 +94,7 @@ playlist_t * playlist_Create( vlc_object_t *p_parent )
p_playlist
->
b_reset_currently_playing
=
true
;
p_playlist
->
b_reset_currently_playing
=
true
;
p_playlist
->
last_rebuild_date
=
0
;
p_playlist
->
last_rebuild_date
=
0
;
p
_playlist
->
b_tree
=
var_CreateGetBool
(
p_playlist
,
"playlist-tree"
);
p
l_priv
(
p_playlist
)
->
b_tree
=
var_CreateGetBool
(
p_playlist
,
"playlist-tree"
);
p_playlist
->
b_doing_ml
=
false
;
p_playlist
->
b_doing_ml
=
false
;
...
...
src/playlist/playlist_internal.h
View file @
1df015be
...
@@ -101,6 +101,8 @@ typedef struct playlist_private_t
...
@@ -101,6 +101,8 @@ typedef struct playlist_private_t
vlc_mutex_t
lock
;
/**< Lock to protect request */
vlc_mutex_t
lock
;
/**< Lock to protect request */
}
request
;
}
request
;
bool
b_tree
;
/**< Display as a tree */
}
playlist_private_t
;
}
playlist_private_t
;
#define pl_priv( pl ) ((playlist_private_t *)(pl))
#define pl_priv( pl ) ((playlist_private_t *)(pl))
...
...
src/playlist/tree.c
View file @
1df015be
...
@@ -336,7 +336,7 @@ playlist_item_t * playlist_GetPreferredNode( playlist_t *p_playlist,
...
@@ -336,7 +336,7 @@ 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_tree
||
p_node
->
p_input
->
b_prefers_tree
)
if
(
p
l_priv
(
p_playlist
)
->
b_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
++
)
{
{
...
@@ -347,7 +347,7 @@ playlist_item_t * playlist_GetPreferredNode( playlist_t *p_playlist,
...
@@ -347,7 +347,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_tree
||
!
p_node
->
p_input
->
b_prefers_tree
)
if
(
!
p
l_priv
(
p_playlist
)
->
b_tree
||
!
p_node
->
p_input
->
b_prefers_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