X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=config.h;h=5395d5affbb4e47e42d8fa1099864569973445fb;hp=47dabe9d90a18cbb2b845cdbea65b9121ddc271f;hb=5605c88a27fcf64ea8f6fd6cbb52dada73856ee0;hpb=136469d722a9986be6bbad68788619284919d876 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 {