Revision 5beb161d

View differences:

chunker_streamer/chunker_streamer.h
14 14
#define STREAMER_MAX_VIDEO_BUFFER_SIZE 200000
15 15
#define STREAMER_MAX_AUDIO_BUFFER_SIZE 10000
16 16

  
17
#ifndef __WIN32__
17
#ifdef __LINUX__
18 18
#define DELETE_DIR(folder) {char command_name[255]; sprintf(command_name, "rm -fR %s", folder); system(command_name); }
19 19
#define CREATE_DIR(folder) {char command_name[255]; sprintf(command_name, "mkdir %s", folder); system(command_name); }
20
#else
21
#define DELETE_DIR(folder) {char command_name[255]; sprintf(command_name, "rd /S /Q %s", folder); system(command_name); }
22
#define CREATE_DIR(folder) {char command_name[255]; sprintf(command_name, "mkdir %s", folder); system(command_name); }
20 23
#endif
21 24

  
22 25
#define LOOP_MODE 1

Also available in: Unified diff