Use meson to configure default values

Make meson generate config.h with configured values.
This commit is contained in:
Romain Vimont
2018-02-07 12:02:15 +01:00
parent cb7e29180f
commit 53ff1aa410
2 changed files with 17 additions and 3 deletions

View File

@@ -5,9 +5,7 @@
#include <libavformat/avformat.h>
#include <SDL2/SDL.h>
#define DEFAULT_LOCAL_PORT 27183
#define DEFAULT_MAX_SIZE 0 // unlimited
#define DEFAULT_BIT_RATE 4000000 // 4Mbps
#include "config.h"
struct args {
const char *serial;