Can now mux audio with video. Audio/Video saved in start path. Make sure to delete zmovie.cfg before recording with this change.

This commit is contained in:
n-a-c-h
2006-02-27 20:37:42 +00:00
parent 69f05041fa
commit 57abe8131d
3 changed files with 54 additions and 22 deletions

View File

@@ -562,6 +562,8 @@ void ccmdline()
handle_params(argc, argv);
}
char ZStartPath[PATH_MAX];
#ifdef __WIN32__
extern HINSTANCE hInst;
int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow)
@@ -572,6 +574,8 @@ int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine,
hInst=hInstance;
ImportDirectX();
getcwd(ZStartPath, PATH_MAX);
zstart();
return(0);
}
@@ -587,6 +591,8 @@ int main(int zargc, char *zargv[])
handle_params(zargc, zargv);
#endif
getcwd(ZStartPath, PATH_MAX);
zstart();
return(0);
}