X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=video_encoder.h;h=fd16ac82f66584cc1f5a76eb783bf954b3a056d9;hb=b85c1986b7ea63534899e2eb589f9e0888d5ccda;hp=fc3a570a736c4867e002ec27987505d7099c6de0;hpb=61919d1071d4501106bfba9edef95a714b025c8e;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);