]> git.sesse.net Git - nageru/blobdiff - shared/mux.h
Simplify timebase handling in Mux a bit.
[nageru] / shared / mux.h
index c6b4c7e49420b316c44fbf827abf4b8954d04dbb..d3d7798fc237c2fcb583230c49be3ef7142ecad6 100644 (file)
@@ -112,7 +112,7 @@ private:
        std::vector<QueuedPacket> packet_queue;
        std::condition_variable packet_queue_ready;
 
-       AVStream *avstream_video, *avstream_audio;
+       std::vector<AVStream *> streams;
 
        std::function<void(int64_t)> write_callback;
        std::vector<MuxMetrics *> metrics;