[vlc-devel] Patch for compiling .mm files with MobileVLCKit

Paulo Vitor Magacho da Silva pvmagacho at gmail.com
Mon May 19 22:48:38 CEST 2014


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/20140519/0aecbce0/attachment.html>


More information about the vlc-devel mailing list