X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=h264encode.h;h=9525d802c8875a8908e30dfa319b246087ac825c;hb=6796837c2e3e08de8d530be233317a2fc4a43f72;hp=b9effa76d86eadcd0b466762196392d1d9adef05;hpb=c76392ca2e019399e6123a7ba0849090a3f7a4ce;p=nageru diff --git a/h264encode.h b/h264encode.h index b9effa7..9525d80 100644 --- a/h264encode.h +++ b/h264encode.h @@ -42,6 +42,7 @@ extern "C" { #include "bmusb.h" #include "context.h" #include "pbo_frame_allocator.h" +#include "ref_counted_frame.h" #include "ref_counted_gl_sync.h" class QSurface; @@ -66,7 +67,7 @@ public: void #endif bool begin_frame(GLuint *y_tex, GLuint *cbcr_tex); - void end_frame(RefCountedGLsync fence, const std::vector &input_frames_to_release); + void end_frame(RefCountedGLsync fence, const std::vector &input_frames); private: struct storage_task { @@ -98,7 +99,7 @@ private: struct PendingFrame { RefCountedGLsync fence; - std::vector input_frames_to_release; + std::vector input_frames; }; std::map pending_frames; QSurface *surface;