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
75f1d9db
Commit
75f1d9db
authored
Sep 28, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist: last_rebuild_date is private.
parent
03e7b770
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
include/vlc_playlist.h
include/vlc_playlist.h
+0
-1
src/playlist/engine.c
src/playlist/engine.c
+3
-3
src/playlist/playlist_internal.h
src/playlist/playlist_internal.h
+2
-0
No files found.
include/vlc_playlist.h
View file @
75f1d9db
...
...
@@ -165,7 +165,6 @@ struct playlist_t
int
i_current_index
;
/**< Index in current array */
/** Reset current item array */
bool
b_reset_currently_playing
;
mtime_t
last_rebuild_date
;
int
i_last_playlist_id
;
/**< Last id to an item */
...
...
src/playlist/engine.c
View file @
75f1d9db
...
...
@@ -92,7 +92,7 @@ playlist_t * playlist_Create( vlc_object_t *p_parent )
p_playlist
->
i_current_index
=
0
;
p_playlist
->
b_reset_currently_playing
=
true
;
p
_playlist
->
last_rebuild_date
=
0
;
p
l_priv
(
p_playlist
)
->
last_rebuild_date
=
0
;
pl_priv
(
p_playlist
)
->
b_tree
=
var_CreateGetBool
(
p_playlist
,
"playlist-tree"
);
...
...
@@ -363,11 +363,11 @@ void playlist_MainLoop( playlist_t *p_playlist )
PL_ASSERT_LOCKED
;
if
(
p_playlist
->
b_reset_currently_playing
&&
mdate
()
-
p
_playlist
->
last_rebuild_date
>
30000
)
// 30 ms
mdate
()
-
p
l_priv
(
p_playlist
)
->
last_rebuild_date
>
30000
)
// 30 ms
{
ResetCurrentlyPlaying
(
p_playlist
,
var_GetBool
(
p_playlist
,
"random"
),
get_current_status_item
(
p_playlist
)
);
p
_playlist
->
last_rebuild_date
=
mdate
();
p
l_priv
(
p_playlist
)
->
last_rebuild_date
=
mdate
();
}
check_input:
...
...
src/playlist/playlist_internal.h
View file @
75f1d9db
...
...
@@ -106,6 +106,8 @@ typedef struct playlist_private_t
bool
b_auto_preparse
;
bool
b_cant_sleep
;
mtime_t
gc_date
;
mtime_t
last_rebuild_date
;
}
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