X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Fquicksync_encoder_impl.h;h=94c62518d4422d02a99a113fa29d2525dce9e372;hb=e2b654d6a8cc8c64142a9a8ef8bcd82e9d9a9289;hp=c40567c43eb68c4325cc335193460aef9b68c5f1;hpb=ba3ea588faa8e7908bce832820c08e43a09863fe;p=nageru diff --git a/nageru/quicksync_encoder_impl.h b/nageru/quicksync_encoder_impl.h index c40567c..94c6251 100644 --- a/nageru/quicksync_encoder_impl.h +++ b/nageru/quicksync_encoder_impl.h @@ -52,9 +52,13 @@ public: void shutdown(); void close_file(); void release_gl_resources(); - void set_stream_mux(Mux *mux) + void set_http_mux(Mux *mux) { - stream_mux = mux; + http_mux = mux; + } + void set_srt_mux(Mux *mux) + { + srt_mux = mux; } // So we never get negative dts. @@ -174,7 +178,8 @@ private: VideoCodecInterface *disk_encoder; std::unique_ptr v4l_output; // nullptr if not using V4L2 output. - Mux* stream_mux = nullptr; // To HTTP. + Mux* http_mux = nullptr; // To the HTTP server. + Mux* srt_mux = nullptr; // To the remote SRT endpoint, if any. std::unique_ptr file_mux; // To local disk. // Encoder parameters