Fix bad args for VLC.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30356 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -539,8 +539,8 @@ void UrlWrapperApp::ArgvReceived(int32 argc, char **argv)
|
|||||||
|
|
||||||
#ifdef HANDLE_VLC
|
#ifdef HANDLE_VLC
|
||||||
if (u.proto == "mms" || u.proto == "rtp" || u.proto == "rtsp") {
|
if (u.proto == "mms" || u.proto == "rtp" || u.proto == "rtsp") {
|
||||||
args[0] = "vlc";
|
args[0] = (char *)u.String();
|
||||||
args[1] = (char *)u.String();
|
args[1] = NULL;
|
||||||
be_roster->Launch(kVLCSig, 2, args);
|
be_roster->Launch(kVLCSig, 2, args);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user