X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=config.h;fp=config.h;h=5395d5affbb4e47e42d8fa1099864569973445fb;hp=47dabe9d90a18cbb2b845cdbea65b9121ddc271f;hb=8f44468bfe4a1d1607b0ab7044c3071605ae1fa7;hpb=340489a8e732519182ecbc92116e7dfa2997143c diff --git a/config.h b/config.h index 47dabe9..5395d5a 100644 --- a/config.h +++ b/config.h @@ -16,6 +16,7 @@ struct StreamConfig { std::string src; // Can be empty. size_t backlog_size; int mark_pool; // -1 for none. + enum { STREAM_ENCODING_RAW = 0, STREAM_ENCODING_METACUBE } encoding; }; struct AcceptorConfig {