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
b1eb791b
Commit
b1eb791b
authored
Sep 28, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist: i_last_playlist_id is private.
parent
76c03d8c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
4 deletions
+3
-4
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
+1
-1
src/playlist/playlist_internal.h
src/playlist/playlist_internal.h
+1
-0
No files found.
include/vlc_playlist.h
View file @
b1eb791b
...
...
@@ -164,8 +164,6 @@ struct playlist_t
playlist_item_array_t
current
;
/**< Items currently being played */
int
i_current_index
;
/**< Index in current array */
int
i_last_playlist_id
;
/**< Last id to an item */
/* Predefined items */
playlist_item_t
*
p_root_category
;
/**< Root of category tree */
playlist_item_t
*
p_root_onelevel
;
/**< Root of onelevel tree */
...
...
src/playlist/engine.c
View file @
b1eb791b
...
...
@@ -79,7 +79,7 @@ playlist_t * playlist_Create( vlc_object_t *p_parent )
VariablesInit
(
p_playlist
);
/* Initialise data structures */
p
_playlist
->
i_last_playlist_id
=
0
;
p
l_priv
(
p_playlist
)
->
i_last_playlist_id
=
0
;
pl_priv
(
p_playlist
)
->
p_input
=
NULL
;
pl_priv
(
p_playlist
)
->
gc_date
=
0
;
...
...
src/playlist/item.c
View file @
b1eb791b
...
...
@@ -168,7 +168,7 @@ playlist_item_t *playlist_ItemNewFromInput( playlist_t *p_playlist,
p_item
->
p_input
=
p_input
;
vlc_gc_incref
(
p_item
->
p_input
);
p_item
->
i_id
=
++
p
_playlist
->
i_last_playlist_id
;
p_item
->
i_id
=
++
p
l_priv
(
p_playlist
)
->
i_last_playlist_id
;
p_item
->
p_parent
=
NULL
;
p_item
->
i_children
=
-
1
;
...
...
src/playlist/playlist_internal.h
View file @
b1eb791b
...
...
@@ -108,6 +108,7 @@ typedef struct playlist_private_t
mtime_t
gc_date
;
mtime_t
last_rebuild_date
;
bool
b_reset_currently_playing
;
/** Reset current item array */
int
i_last_playlist_id
;
/**< Last id to an item */
}
playlist_private_t
;
...
...
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