Allow specifying which codec to use

This commit is contained in:
Iwan Timmer
2016-04-08 13:23:05 +02:00
parent 9cd90276cb
commit e9811d8505
4 changed files with 18 additions and 5 deletions

View File

@@ -23,6 +23,8 @@
#define MAX_INPUTS 6
enum codecs { CODEC_UNSPECIFIED, CODEC_H264, CODEC_HEVC };
struct input_config {
char* path;
char* mapping;
@@ -44,6 +46,7 @@ typedef struct _CONFIGURATION {
bool unsupported_version;
struct input_config inputs[MAX_INPUTS];
int inputsCount;
enum codecs codec;
} CONFIGURATION, *PCONFIGURATION;
bool inputAdded;