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
09995291
Commit
09995291
authored
Sep 28, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist: b_auto_preparse is private.
parent
11c77e08
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
7 deletions
+6
-7
include/vlc_playlist.h
include/vlc_playlist.h
+0
-2
src/playlist/engine.c
src/playlist/engine.c
+4
-4
src/playlist/item.c
src/playlist/item.c
+1
-1
src/playlist/playlist_internal.h
src/playlist/playlist_internal.h
+1
-0
No files found.
include/vlc_playlist.h
View file @
09995291
...
...
@@ -177,8 +177,6 @@ struct playlist_t
playlist_item_t
*
p_local_onelevel
;
/** < "Playlist" in ONELEVEL view */
playlist_item_t
*
p_ml_onelevel
;
/** < "Library" in ONELEVEL view */
bool
b_auto_preparse
;
/* Runtime */
int
i_sort
;
/**< Last sorting applied to the playlist */
int
i_order
;
/**< Last ordering applied to the playlist */
...
...
src/playlist/engine.c
View file @
09995291
...
...
@@ -98,7 +98,7 @@ playlist_t * playlist_Create( vlc_object_t *p_parent )
pl_priv
(
p_playlist
)
->
b_doing_ml
=
false
;
p
_playlist
->
b_auto_preparse
=
p
l_priv
(
p_playlist
)
->
b_auto_preparse
=
var_CreateGetBool
(
p_playlist
,
"auto-preparse"
)
;
PL_LOCK
;
/* playlist_NodeCreate will check for it */
...
...
@@ -155,10 +155,10 @@ playlist_t * playlist_Create( vlc_object_t *p_parent )
p_playlist
->
i_order
=
ORDER_NORMAL
;
b_save
=
p
_playlist
->
b_auto_preparse
;
p
_playlist
->
b_auto_preparse
=
false
;
b_save
=
p
l_priv
(
p_playlist
)
->
b_auto_preparse
;
p
l_priv
(
p_playlist
)
->
b_auto_preparse
=
false
;
playlist_MLLoad
(
p_playlist
);
p
_playlist
->
b_auto_preparse
=
true
;
p
l_priv
(
p_playlist
)
->
b_auto_preparse
=
true
;
vlc_object_set_destructor
(
p_playlist
,
playlist_Destructor
);
...
...
src/playlist/item.c
View file @
09995291
...
...
@@ -863,7 +863,7 @@ static void GoAndPreparse( playlist_t *p_playlist, int i_mode,
/* Preparse if PREPARSE or SPREPARSE & not enough meta */
char
*
psz_artist
=
input_item_GetArtist
(
p_item_cat
->
p_input
);
char
*
psz_album
=
input_item_GetAlbum
(
p_item_cat
->
p_input
);
if
(
p
_playlist
->
b_auto_preparse
&&
if
(
p
l_priv
(
p_playlist
)
->
b_auto_preparse
&&
(
i_mode
&
PLAYLIST_PREPARSE
||
(
i_mode
&
PLAYLIST_SPREPARSE
&&
(
EMPTY_STR
(
psz_artist
)
||
(
EMPTY_STR
(
psz_album
)
)
)
...
...
src/playlist/playlist_internal.h
View file @
09995291
...
...
@@ -103,6 +103,7 @@ typedef struct playlist_private_t
bool
b_tree
;
/**< Display as a tree */
bool
b_doing_ml
;
/**< Doing media library stuff get quicker */
bool
b_auto_preparse
;
}
playlist_private_t
;
#define pl_priv( pl ) ((playlist_private_t *)(pl))
...
...
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