NSException* libvlcException = [NSException
exceptionWithName:@"LibVLCException"
reason:[NSString stringWithFormat:@"libvlc has thrown us an error: %s (%s:%d %s)",
- libvlc_exception_get_message( ex ), file, line_number, function]
+ libvlc_errmsg(), file, line_number, function]
userInfo:nil];
libvlc_exception_clear( ex );
@throw libvlcException;
libvlc_exception_init( &ex );
const char * lib_vlc_params[] = {
- "-I", "dummy", "--vout=opengllayer",
- "--no-video-title-show", "--no-sout-keep"
+ "-I", "dummy", "--vout=minimal_macosx",
+ "--no-video-title-show", "--no-sout-keep", "--ignore-config",
+ "--opengl-provider=minimal_macosx",
+ "-verbose=-1"
//, "--control=motion", "--motion-use-rotate", "--video-filter=rotate"
};