Commit 9cf1704a authored by Florent Pillet's avatar Florent Pillet Committed by Felix Paul Kühne

private text renderer API patch for MobileVLCKit broke OS X build

Here's a quick patch that should be applied to VLCKit so as to not break compilation for OS X with the latest experimental changes made in MobileVLCKit

Florent
Signed-off-by: Felix Paul Kühne's avatarFelix Paul Kühne <fkuehne@videolan.org>
parent fd1e5a16
......@@ -447,20 +447,26 @@ static void HandleMediaPlayerMediaChanged(const libvlc_event_t * event, void * s
return libvlc_video_get_spu_delay(_playerInstance);
}
#if TARGET_OS_IPHONE
- (void)setTextRendererFontSize:(NSNumber *)fontSize
{
libvlc_video_set_textrenderer_int(_playerInstance, libvlc_textrender_fontsize, [fontSize intValue]);
}
#endif
#if TARGET_OS_IPHONE
- (void)setTextRendererFont:(NSString *)fontname
{
libvlc_video_set_textrenderer_string(_playerInstance, libvlc_textrender_font, [fontname UTF8String]);
}
#endif
#if TARGET_OS_IPHONE
- (void)setTextRendererFontColor:(NSNumber *)fontColor
{
libvlc_video_set_textrenderer_int(_playerInstance, libvlc_textrender_fontcolor, [fontColor intValue]);
}
#endif
#pragma mark -
#pragma mark Video Crop geometry
......
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