X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=cl_video.c;h=4e37eb7548dc46ab6220bacb921991c93e34ff79;hb=b884eac509fdad46627b14bfb67a0337c1e9e2dd;hp=2db4756e84f94880baaf98eb6b7e17a7dc051de4;hpb=d751baf5a54e65ccd087a62ca7d7623d2e0c3453;p=xonotic%2Fdarkplaces.git diff --git a/cl_video.c b/cl_video.c index 2db4756e..4e37eb75 100644 --- a/cl_video.c +++ b/cl_video.c @@ -5,9 +5,9 @@ #include "dpvsimpledecode.h" // VorteX: JAM video module used by Blood Omnicide -//#define USEJAM +#define USEJAM #ifdef USEJAM - #include "jamdecode.c" + #include "cl_video_jamdecode.c" #endif // cvars @@ -613,6 +613,9 @@ static void CL_PlayVideo_f(void) Host_StartVideo(); + if (COM_CheckParm("-benchmark")) + return; + if (Cmd_Argc() < 2) { Con_Print("usage: playvideo [custom_subtitles_file]\nplays video named video/.dpv\nif custom subtitles file is not presented\nit tries video/.sub");