Commit 4595fe88 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

MacOSX/Framework: Use --opengl-provider=minimal_macosx. (Original patch by...

MacOSX/Framework: Use --opengl-provider=minimal_macosx. (Original patch by Enrique Osuna <enrique.osuna a gmail d com>).
parent e635890a
......@@ -32,10 +32,12 @@ static libvlc_instance_t * shared_instance = NULL;
if(!shared_instance)
{
libvlc_exception_t ex;
char *lib_vlc_params[] = { "vlc", "-I", "dummy", "-vvvvvv" };
char *lib_vlc_params[] = { "vlc", "-I", "dummy",
"--opengl-provider=minimal_macosx",
"-vvvvvv" };
libvlc_exception_init( &ex );
shared_instance = libvlc_new( 4, lib_vlc_params, &ex );
shared_instance = libvlc_new( 5, lib_vlc_params, &ex );
quit_on_exception( &ex );
}
return shared_instance;
......
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