X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=x264_speed_control.h;h=de88f66705a7f15a068c91cb84f6e3e815852c34;hb=df2284056394481ce5d5216f774d4a146b4983eb;hp=af4513ea5a037ab596e7a016ed98fee1e1acf73b;hpb=21bd3592c1a692463abd321047c2c612f91cc2ad;p=nageru diff --git a/x264_speed_control.h b/x264_speed_control.h index af4513e..de88f66 100644 --- a/x264_speed_control.h +++ b/x264_speed_control.h @@ -43,17 +43,16 @@ // one does not need to patch x264 to use it in Nageru. It still could do with // some cleanup, but it's much, much better than just using a static preset. -#include #include -#include -#include #include #include extern "C" { -#include "x264.h" +#include } +#include "x264_dynamic.h" + class X264SpeedControl { public: // x264: Encoding object we are using; must be opened. Assumed to be @@ -98,6 +97,8 @@ private: int dither_preset(float f); void apply_preset(int new_preset); + X264Dynamic dyn; + // Not owned by us. x264_t *x264;