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
5314d9ee
Commit
5314d9ee
authored
May 15, 2006
by
Christophe Mutricy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New playlist API fix.
parent
e148a401
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/control/mediacontrol_core.c
src/control/mediacontrol_core.c
+1
-1
src/control/playlist.c
src/control/playlist.c
+2
-2
No files found.
src/control/mediacontrol_core.c
View file @
5314d9ee
...
@@ -284,7 +284,7 @@ mediacontrol_playlist_add_item( mediacontrol_Instance *self,
...
@@ -284,7 +284,7 @@ mediacontrol_playlist_add_item( mediacontrol_Instance *self,
RAISE
(
mediacontrol_InternalException
,
"No playlist"
);
RAISE
(
mediacontrol_InternalException
,
"No playlist"
);
}
}
else
else
playlist_Add
(
self
->
p_playlist
,
psz_file
,
psz_file
,
PLAYLIST_INSERT
,
playlist_
Playlist
Add
(
self
->
p_playlist
,
psz_file
,
psz_file
,
PLAYLIST_INSERT
,
PLAYLIST_END
);
PLAYLIST_END
);
}
}
...
...
src/control/playlist.c
View file @
5314d9ee
...
@@ -110,7 +110,7 @@ int libvlc_playlist_add_extended( libvlc_instance_t *p_instance,
...
@@ -110,7 +110,7 @@ int libvlc_playlist_add_extended( libvlc_instance_t *p_instance,
int
i_options
,
const
char
**
ppsz_options
,
int
i_options
,
const
char
**
ppsz_options
,
libvlc_exception_t
*
p_exception
)
libvlc_exception_t
*
p_exception
)
{
{
return
playlist_AddExt
(
p_instance
->
p_playlist
,
psz_uri
,
psz_name
,
return
playlist_
Playlist
AddExt
(
p_instance
->
p_playlist
,
psz_uri
,
psz_name
,
PLAYLIST_INSERT
,
PLAYLIST_END
,
-
1
,
ppsz_options
,
PLAYLIST_INSERT
,
PLAYLIST_END
,
-
1
,
ppsz_options
,
i_options
);
i_options
);
}
}
...
@@ -118,7 +118,7 @@ int libvlc_playlist_add_extended( libvlc_instance_t *p_instance,
...
@@ -118,7 +118,7 @@ int libvlc_playlist_add_extended( libvlc_instance_t *p_instance,
int
libvlc_playlist_delete_item
(
libvlc_instance_t
*
p_instance
,
int
i_id
,
int
libvlc_playlist_delete_item
(
libvlc_instance_t
*
p_instance
,
int
i_id
,
libvlc_exception_t
*
p_exception
)
libvlc_exception_t
*
p_exception
)
{
{
return
playlist_Delete
(
p_instance
->
p_playlist
,
i_id
);
return
playlist_Delete
FromItemId
(
p_instance
->
p_playlist
,
i_id
);
}
}
...
...
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