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
df07ba0d
Commit
df07ba0d
authored
Dec 31, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lib: remove playlist dependency on media parsing (fixes #5460)
parent
ff8e7223
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
lib/media.c
lib/media.c
+4
-5
No files found.
lib/media.c
View file @
df07ba0d
...
...
@@ -617,13 +617,12 @@ libvlc_media_get_duration( libvlc_media_t * p_md )
static
int
media_parse
(
libvlc_media_t
*
media
)
{
/* TODO: fetcher and parser independent of playlist */
#warning FIXME: remove pl_Get
playlist_t
*
playlist
=
pl_Get
(
media
->
p_libvlc_instance
->
p_libvlc_int
);
libvlc_int_t
*
libvlc
=
media
->
p_libvlc_instance
->
p_libvlc_int
;
input_item_t
*
item
=
media
->
p_input_item
;
/* TODO: Fetch art on need basis. But how not to break compatibility? */
playlist_AskForArtEnqueue
(
playlist
,
media
->
p_input_item
);
return
playlist_PreparseEnqueue
(
playlist
,
media
->
p_input_
item
);
libvlc_ArtRequest
(
libvlc
,
item
);
return
libvlc_MetaRequest
(
libvlc
,
item
);
}
/**************************************************************************
...
...
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