]> git.sesse.net Git - nageru/blobdiff - video_encoder.h
Add a menu option to change x264 video bitrate while running.
[nageru] / video_encoder.h
index fc3a570a736c4867e002ec27987505d7099c6de0..fd16ac82f66584cc1f5a76eb783bf954b3a056d9 100644 (file)
@@ -37,6 +37,8 @@ public:
        // Does a cut of the disk stream immediately ("frame" is used for the filename only).
        void do_cut(int frame);
 
+       void change_x264_bitrate(unsigned rate_kbit);
+
 private:
        void open_output_stream();
        static int write_packet2_thunk(void *opaque, uint8_t *buf, int buf_size, AVIODataMarkerType type, int64_t time);