Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
11c77e08
Commit
11c77e08
authored
Sep 28, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist: b_doing_ml doing ml is private.
parent
1df015be
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
9 deletions
+7
-9
include/vlc_playlist.h
include/vlc_playlist.h
+0
-2
src/playlist/engine.c
src/playlist/engine.c
+1
-1
src/playlist/item.c
src/playlist/item.c
+2
-2
src/playlist/loadsave.c
src/playlist/loadsave.c
+2
-2
src/playlist/playlist_internal.h
src/playlist/playlist_internal.h
+2
-2
No files found.
include/vlc_playlist.h
View file @
11c77e08
...
...
@@ -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_doing_ml
;
/**< Doing media library stuff,
* get quicker */
bool
b_auto_preparse
;
/* Runtime */
...
...
src/playlist/engine.c
View file @
11c77e08
...
...
@@ -96,7 +96,7 @@ playlist_t * playlist_Create( vlc_object_t *p_parent )
pl_priv
(
p_playlist
)
->
b_tree
=
var_CreateGetBool
(
p_playlist
,
"playlist-tree"
);
p
_playlist
->
b_doing_ml
=
false
;
p
l_priv
(
p_playlist
)
->
b_doing_ml
=
false
;
p_playlist
->
b_auto_preparse
=
var_CreateGetBool
(
p_playlist
,
"auto-preparse"
)
;
...
...
src/playlist/item.c
View file @
11c77e08
...
...
@@ -415,7 +415,7 @@ int playlist_AddInput( playlist_t* p_playlist, input_item_t *p_input,
{
playlist_item_t
*
p_item_cat
,
*
p_item_one
;
if
(
p_playlist
->
b_die
)
return
VLC_EGENERIC
;
if
(
!
p
_playlist
->
b_doing_ml
)
if
(
!
p
l_priv
(
p_playlist
)
->
b_doing_ml
)
PL_DEBUG
(
"adding item `%s' ( %s )"
,
p_input
->
psz_name
,
p_input
->
psz_uri
);
...
...
@@ -889,7 +889,7 @@ static void AddItem( playlist_t *p_playlist, playlist_item_t *p_item,
else
playlist_NodeInsert
(
p_playlist
,
p_item
,
p_node
,
i_pos
);
if
(
!
p
_playlist
->
b_doing_ml
)
if
(
!
p
l_priv
(
p_playlist
)
->
b_doing_ml
)
playlist_SendAddNotify
(
p_playlist
,
p_item
->
i_id
,
p_node
->
i_id
,
!
(
i_mode
&
PLAYLIST_NO_REBUILD
)
);
}
...
...
src/playlist/loadsave.c
View file @
11c77e08
...
...
@@ -160,7 +160,7 @@ int playlist_MLLoad( playlist_t *p_playlist )
vlc_event_attach
(
&
p_input
->
event_manager
,
vlc_InputItemSubItemAdded
,
input_item_subitem_added
,
p_playlist
);
p
_playlist
->
b_doing_ml
=
true
;
p
l_priv
(
p_playlist
)
->
b_doing_ml
=
true
;
PL_UNLOCK
;
stats_TimerStart
(
p_playlist
,
"ML Load"
,
STATS_TIMER_ML_LOAD
);
...
...
@@ -168,7 +168,7 @@ int playlist_MLLoad( playlist_t *p_playlist )
stats_TimerStop
(
p_playlist
,
STATS_TIMER_ML_LOAD
);
PL_LOCK
;
p
_playlist
->
b_doing_ml
=
false
;
p
l_priv
(
p_playlist
)
->
b_doing_ml
=
false
;
PL_UNLOCK
;
vlc_event_detach
(
&
p_input
->
event_manager
,
vlc_InputItemSubItemAdded
,
...
...
src/playlist/playlist_internal.h
View file @
11c77e08
...
...
@@ -102,7 +102,7 @@ typedef struct playlist_private_t
}
request
;
bool
b_tree
;
/**< Display as a tree */
bool
b_doing_ml
;
/**< Doing media library stuff get quicker */
}
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