From: Steinar H. Gunderson Date: Fri, 10 Aug 2018 15:47:32 +0000 (+0200) Subject: Unbreak Kaeru. X-Git-Tag: 1.7.4~2 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=b973bd3828a729a7a2c12bba4e4927300987dd23;p=nageru Unbreak Kaeru. --- diff --git a/kaeru.cpp b/kaeru.cpp index 1bfd2e6..4ae8b13 100644 --- a/kaeru.cpp +++ b/kaeru.cpp @@ -47,9 +47,9 @@ int write_packet(void *opaque, uint8_t *buf, int buf_size, AVIODataMarkerType ty if (type == AVIO_DATA_MARKER_HEADER) { stream_mux_header.append((char *)buf, buf_size); - httpd->set_header(HTTPD::MAIN_STREAM, stream_mux_header); + httpd->set_header(stream_mux_header); } else { - httpd->add_data(HTTPD::MAIN_STREAM, (char *)buf, buf_size, type == AVIO_DATA_MARKER_SYNC_POINT, time, AVRational{ AV_TIME_BASE, 1 }); + httpd->add_data((char *)buf, buf_size, type == AVIO_DATA_MARKER_SYNC_POINT, time, AVRational{ AV_TIME_BASE, 1 }); } return buf_size; }