X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=server.cpp;h=afaab9be6a3cfb0f464de29582554744e8faac70;hp=d3b936f0b9c1f869c34c5dbf05c1beb32ad90a8e;hb=513af50c3e3454aafc25e97a7d20c206006e4d4c;hpb=6544fa0ec3f3a501bcb89ea977756911bd7f3ebd diff --git a/server.cpp b/server.cpp index d3b936f..afaab9b 100644 --- a/server.cpp +++ b/server.cpp @@ -373,10 +373,10 @@ void Server::add_gen204(const std::string &url, const std::string &allow_origin) ping_url_map[url] = allow_origin; } -void Server::add_data_deferred(int stream_index, const char *data, size_t bytes, StreamStartSuitability suitable_for_stream_start) +void Server::add_data_deferred(int stream_index, const char *data, size_t bytes, uint16_t metacube_flags) { assert(stream_index >= 0 && stream_index < ssize_t(streams.size())); - streams[stream_index]->add_data_deferred(data, bytes, suitable_for_stream_start); + streams[stream_index]->add_data_deferred(data, bytes, metacube_flags); } // See the .h file for postconditions after this function.