[vlc-devel] [PATCH] Patch for MobileVLCKit in iOS

Paulo Vitor Magacho da Silva pvmagacho at gmail.com
Wed May 21 07:14:54 CEST 2014


Resending the email with correct subject.

Here is a suggestion of a patch to allow .mm files to be compiled with the
MobileVLCKit in iOS.

Thanks

diff --git a/Headers/Public/VLCMediaListPlayer.h
b/Headers/Public/VLCMediaListPlayer.h
index 55faf6f..0170937 100644
--- a/Headers/Public/VLCMediaListPlayer.h
+++ b/Headers/Public/VLCMediaListPlayer.h
@@ -30,12 +30,11 @@
  * VLCRepeatMode
  * (don't repeat anything, repeat one, repeat all)
  */
-enum VLCRepeatMode {
+typedef NS_ENUM(NSInteger, VLCRepeatMode) {
     VLCDoNotRepeat,
     VLCRepeatCurrentItem,
     VLCRepeatAllItems
 };
-typedef NSInteger VLCRepeatMode;

 @interface VLCMediaListPlayer : NSObject {
     void *instance;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140521/4e4a9489/attachment.html>


More information about the vlc-devel mailing list