X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Fquicksync_encoder_impl.h;h=53f88ecd4be8c9fe98d51cfeaf72eebb34fe4afe;hb=1a7e004368f4f5221e91bf53e17a8c0f7e1ceeb8;hp=5e215e5b691bfa3f81ff317ce58404415c8d4c3d;hpb=eeda8995329601f9f4e35047358400833eeae68e;p=nageru diff --git a/nageru/quicksync_encoder_impl.h b/nageru/quicksync_encoder_impl.h index 5e215e5..53f88ec 100644 --- a/nageru/quicksync_encoder_impl.h +++ b/nageru/quicksync_encoder_impl.h @@ -20,7 +20,8 @@ #include "shared/timebase.h" #include "print_latency.h" #include "shared/ref_counted_gl_sync.h" -#include "va_display_with_cleanup.h" +#include "shared/va_display.h" +#include "v4l_output.h" #define SURFACE_NUM 16 /* 16 surfaces for source YUV */ #define MAX_NUM_REF1 16 // Seemingly a hardware-fixed value, not related to SURFACE_NUM @@ -171,6 +172,7 @@ private: std::unique_ptr file_audio_encoder; X264Encoder *x264_encoder; // nullptr if not using x264. + std::unique_ptr v4l_output; // nullptr if not using V4L2 output. Mux* stream_mux = nullptr; // To HTTP. std::unique_ptr file_mux; // To local disk.