Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
6efc10f0
Commit
6efc10f0
authored
Dec 15, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lua/playlist: do not handle impossible error
parent
969a8451
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
modules/lua/libs/playlist.c
modules/lua/libs/playlist.c
+3
-4
No files found.
modules/lua/libs/playlist.c
View file @
6efc10f0
...
@@ -130,11 +130,10 @@ static int vlclua_playlist_gotoitem( lua_State * L )
...
@@ -130,11 +130,10 @@ static int vlclua_playlist_gotoitem( lua_State * L )
int
i_id
=
luaL_checkint
(
L
,
1
);
int
i_id
=
luaL_checkint
(
L
,
1
);
playlist_t
*
p_playlist
=
vlclua_get_playlist_internal
(
L
);
playlist_t
*
p_playlist
=
vlclua_get_playlist_internal
(
L
);
PL_LOCK
;
PL_LOCK
;
int
i_ret
=
playlist_Control
(
p_playlist
,
PLAYLIST_VIEWPLAY
,
playlist_Control
(
p_playlist
,
PLAYLIST_VIEWPLAY
,
true
,
NULL
,
true
,
NULL
,
playlist_ItemGetById
(
p_playlist
,
i_id
)
);
playlist_ItemGetById
(
p_playlist
,
i_id
)
);
PL_UNLOCK
;
PL_UNLOCK
;
return
vlclua_push_ret
(
L
,
i_ret
);
return
vlclua_push_ret
(
L
,
VLC_SUCCESS
);
}
}
static
int
vlclua_playlist_delete
(
lua_State
*
L
)
static
int
vlclua_playlist_delete
(
lua_State
*
L
)
...
...
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