]> git.sesse.net Git - nageru/blobdiff - httpd.h
Add an option --http-coarse-timebase for streaming to MP4.
[nageru] / httpd.h
diff --git a/httpd.h b/httpd.h
index 695c7082cd36436b8bbf345f48fd53681f924a33..e6f12d99698feae9d5cec1bd0d4c55d4fdbf2a02 100644 (file)
--- a/httpd.h
+++ b/httpd.h
@@ -67,7 +67,7 @@ private:
                        CODEC_NV12,  // Uncompressed 4:2:0.
                };
 
-               Mux(AVFormatContext *avctx, int width, int height, Codec video_codec);  // Takes ownership of avctx.
+               Mux(AVFormatContext *avctx, int width, int height, Codec video_codec, int time_base);  // Takes ownership of avctx.
                ~Mux();
                void add_packet(const AVPacket &pkt, int64_t pts, int64_t dts);
 
@@ -79,7 +79,7 @@ private:
 
        class Stream {
        public:
-               Stream(AVOutputFormat *oformat, int width, int height);
+               Stream(AVOutputFormat *oformat, int width, int height, int time_base);
 
                static ssize_t reader_callback_thunk(void *cls, uint64_t pos, char *buf, size_t max);
                ssize_t reader_callback(uint64_t pos, char *buf, size_t max);