Topic: SVP unable to process while successfully detected the player
Hi everyone, I have written a C++ program that works like SVPtube, using youtube-dl as its core.
I start my player like this:
CreateProcess(player.c_str(), const_cast<char *>(cmdline.c_str()), NULL, NULL, false, 0, NULL,NULL,&si,&pi);
Also tried this:
ShellExecute(NULL, "open", player.c_str(), para.c_str(), NULL, SW_SHOWDEFAULT );
SVP maganger successfully detected the player, but it doesn't work. It doesn't process video and my video stream freezes. The "SVP enabled" words never appear.
I have checked that both the player and the SVP manager are running as normal user.
It that the problem with my code? What should I do?