]> git.sesse.net Git - nageru/blobdiff - shared/mux.h
When muxing in the background, write the header in the background, too.
[nageru] / shared / mux.h
index e85cac234ae7dd6916cc71e26376c7da4ab288b8..0fb913a37636fc746771896c763e2ea238ba4eb5 100644 (file)
@@ -96,6 +96,7 @@ private:
        // If write_strategy == WRITE_FOREGORUND, Must be called with <mu> held.
        void write_packet_or_die(const AVPacket &pkt, int64_t unscaled_pts);
        void thread_func();
+       void write_header();
 
        WriteStrategy write_strategy;