[vlc-commits] MobileVLCKit: updated libvlc initialization to current API

Philippe Coent git at videolan.org
Fri Mar 23 02:19:24 CET 2012


vlc | branch: master | Philippe Coent <philippe.coent at gmail.com> | Fri Mar 23 02:09:52 2012 +0100| [edc42895bf3e60e3e3739e470c96f57c933aec54] | committer: Felix Paul Kühne

MobileVLCKit: updated libvlc initialization to current API

Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=edc42895bf3e60e3e3739e470c96f57c933aec54
---

 projects/macosx/framework/Sources/VLCLibrary.m |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/projects/macosx/framework/Sources/VLCLibrary.m b/projects/macosx/framework/Sources/VLCLibrary.m
index d07e515..913f0d1 100644
--- a/projects/macosx/framework/Sources/VLCLibrary.m
+++ b/projects/macosx/framework/Sources/VLCLibrary.m
@@ -81,11 +81,7 @@ static VLCLibrary * sharedLibrary = nil;
             paramNum++;
         }
         unsigned argc = sizeof(lib_vlc_params)/sizeof(lib_vlc_params[0]);
-#if TARGET_OS_IPHONE
-        instance = libvlc_new_with_builtins(argc, lib_vlc_params, vlc_builtins_modules);
-#else
         instance = libvlc_new(argc, lib_vlc_params);
-#endif
         NSAssert(instance, @"libvlc failed to initialize");
     }
     return self;



More information about the vlc-commits mailing list