Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
f8743ad0
Commit
f8743ad0
authored
Feb 16, 2008
by
Pierre d'Herbemont
Browse files
macosx/framework/VLCMedia: Rely on artFetched and not on the metaDictionary value.
parent
78b4a97d
Changes
1
Show whitespace changes
Inline
Side-by-side
projects/macosx/framework/Sources/VLCMedia.m
View file @
f8743ad0
...
...
@@ -547,7 +547,7 @@ static void HandleMediaSubItemAdded(const libvlc_event_t * event, void * self)
-
(
id
)
valueForKeyPath
:(
NSString
*
)
keyPath
{
if
(
!
[
metaDictionary
objectForKey
:
@"artwork"
]
&&
[
keyPath
isEqualToString
:
@"metaDictionary.artwork"
])
if
(
!
artFetched
&&
[
keyPath
isEqualToString
:
@"metaDictionary.artwork"
])
{
artFetched
=
YES
;
/* Force the retrieval of the artwork now that someone asked for it */
...
...
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