Commit 724747fa authored by David Fuhrmann's avatar David Fuhrmann

darwinvlc: Print out if no interface can be found

Analog to 20bd2ef0.
parent fb7e2d81
......@@ -288,8 +288,10 @@ int main(int i_argc, const char *ppsz_argv[])
libvlc_add_intf(vlc, "hotkeys,none");
if (libvlc_add_intf(vlc, NULL))
if (libvlc_add_intf(vlc, NULL)) {
fprintf(stderr, "VLC cannot start any interface. Exiting.\n");
goto out;
}
libvlc_playlist_play(vlc, -1, 0, NULL);
/*
......
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