Commit c389bd32 authored by Felix Paul Kühne's avatar Felix Paul Kühne

mac plugin: fix artwork loading

parent df265811
......@@ -562,7 +562,7 @@ bool VlcPluginMac::handle_event(void *event)
static CGImageRef createImageNamed(NSString *name)
{
CFURLRef url = CFBundleCopyResourceURL(CFBundleGetBundleWithIdentifier(CFSTR("com.netscape.vlc")), (CFStringRef)name, CFSTR("png"), NULL);
CFURLRef url = CFBundleCopyResourceURL(CFBundleGetBundleWithIdentifier(CFSTR("org.videolan.vlc-npapi-plugin")), (CFStringRef)name, CFSTR("png"), NULL);
if (!url)
return NULL;
......@@ -691,10 +691,10 @@ static CGImageRef createImageNamed(NSString *name)
CGContextSaveGState(cgContext);
CGContextSetFillColorWithColor(cgContext, CGColorGetConstantColor(kCGColorBlack));
CGContextFillRect(cgContext, self.bounds);
CGContextRestoreGState(cgContext);
[self _drawPlayPauseButtonInContext:cgContext];
[self _drawSliderInContext:cgContext];
CGContextRestoreGState(cgContext);
}
#pragma mark -
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment