X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=video_encoder.h;h=fd16ac82f66584cc1f5a76eb783bf954b3a056d9;hb=b85c1986b7ea63534899e2eb589f9e0888d5ccda;hp=fc3a570a736c4867e002ec27987505d7099c6de0;hpb=42c5230911f90f48b0fb428805c3e51a9a5a81d3;p=nageru diff --git a/video_encoder.h b/video_encoder.h index fc3a570..fd16ac8 100644 --- a/video_encoder.h +++ b/video_encoder.h @@ -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);