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
58bd68a6
Commit
58bd68a6
authored
Feb 10, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
control/media_descriptor.c: Ask for artwork only when needed.
parent
566b8b28
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
src/control/media_descriptor.c
src/control/media_descriptor.c
+7
-4
No files found.
src/control/media_descriptor.c
View file @
58bd68a6
...
@@ -217,10 +217,6 @@ static void preparse_if_needed( libvlc_media_descriptor_t *p_md )
...
@@ -217,10 +217,6 @@ static void preparse_if_needed( libvlc_media_descriptor_t *p_md )
playlist_PreparseEnqueue
(
playlist_PreparseEnqueue
(
p_md
->
p_libvlc_instance
->
p_libvlc_int
->
p_playlist
,
p_md
->
p_libvlc_instance
->
p_libvlc_int
->
p_playlist
,
p_md
->
p_input_item
);
p_md
->
p_input_item
);
playlist_AskForArtEnqueue
(
p_md
->
p_libvlc_instance
->
p_libvlc_int
->
p_playlist
,
p_md
->
p_input_item
);
p_md
->
b_preparsed
=
VLC_TRUE
;
p_md
->
b_preparsed
=
VLC_TRUE
;
}
}
}
}
...
@@ -445,6 +441,13 @@ char * libvlc_media_descriptor_get_meta( libvlc_media_descriptor_t *p_md,
...
@@ -445,6 +441,13 @@ char * libvlc_media_descriptor_get_meta( libvlc_media_descriptor_t *p_md,
psz_meta
=
input_item_GetMeta
(
p_md
->
p_input_item
,
psz_meta
=
input_item_GetMeta
(
p_md
->
p_input_item
,
libvlc_to_vlc_meta
[
e_meta
]
);
libvlc_to_vlc_meta
[
e_meta
]
);
if
(
e_meta
==
libvlc_meta_ArtworkURL
&&
!
psz_meta
)
{
playlist_AskForArtEnqueue
(
p_md
->
p_libvlc_instance
->
p_libvlc_int
->
p_playlist
,
p_md
->
p_input_item
);
}
/* Should be integrated in core */
/* Should be integrated in core */
if
(
!
psz_meta
&&
e_meta
==
libvlc_meta_Title
&&
p_md
->
p_input_item
->
psz_name
)
if
(
!
psz_meta
&&
e_meta
==
libvlc_meta_Title
&&
p_md
->
p_input_item
->
psz_name
)
...
...
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