Fixed output example in Windows.

This commit is contained in:
Gonzalo Exequiel Pedone 2021-10-04 15:52:35 -03:00
parent 4910b07139
commit f4a605ee6c
No known key found for this signature in database
GPG key ID: B8B09E63E9B85BAF

View file

@ -40,18 +40,19 @@ struct StreamProcess
{
HANDLE stdinReadPipe;
HANDLE stdinWritePipe;
SECURITY_ATTRIBUTES pipeAttributes;
STARTUPINFOA startupInfo;
PROCESS_INFORMATION procInfo;
struct SECURITY_ATTRIBUTES pipeAttributes;
struct STARTUPINFOA startupInfo;
struct PROCESS_INFORMATION procInfo;
};
int main()
{
// Set the parameters of the stream.
const char cmd[1024];
char cmd[1024];
const char format[] = "RGB24";
int width = 640;
int height = 480;
memset(cmd, 0, 1024);
snprintf(cmd,
1024,
"AkVCamManager stream %s %s %d %d",