Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
6e9f6517
Commit
6e9f6517
authored
Nov 26, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist: remove "item-current" variable
parent
6b772873
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
4 deletions
+0
-4
include/vlc_playlist.h
include/vlc_playlist.h
+0
-1
src/playlist/engine.c
src/playlist/engine.c
+0
-1
src/playlist/thread.c
src/playlist/thread.c
+0
-2
No files found.
include/vlc_playlist.h
View file @
6e9f6517
...
...
@@ -102,7 +102,6 @@ TYPEDEF_ARRAY(playlist_item_t*, playlist_item_array_t)
*
* - "item-change": It will contain the input_item_t->i_id of a changed input
* item monitored by the playlist.
* - "item-current": It will contain a input_item_t->i_id of the current
* item being played.
*
* - "playlist-item-append": It will contain a pointer to a playlist_add_t.
...
...
src/playlist/engine.c
View file @
6e9f6517
...
...
@@ -422,7 +422,6 @@ static void VariablesInit( playlist_t *p_playlist )
var_Create
(
p_playlist
,
"playlist-item-append"
,
VLC_VAR_ADDRESS
);
var_Create
(
p_playlist
,
"item-current"
,
VLC_VAR_ADDRESS
);
var_Create
(
p_playlist
,
"input-current"
,
VLC_VAR_ADDRESS
);
var_Create
(
p_playlist
,
"activity"
,
VLC_VAR_VOID
);
...
...
src/playlist/thread.c
View file @
6e9f6517
...
...
@@ -268,9 +268,7 @@ static int PlayItem( playlist_t *p_playlist, playlist_item_t *p_item )
free
(
psz_arturl
);
free
(
psz_name
);
}
/* FIXME: this is not safe !!*/
PL_UNLOCK
;
var_SetAddress
(
p_playlist
,
"item-current"
,
p_input
);
var_TriggerCallback
(
p_playlist
,
"activity"
);
PL_LOCK
;
...
...
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