X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Fvideo_encoder.h;h=3c82c00d609317a6d32344fb0bcf47378b6bdb11;hb=364fd0dca48e413048f4c6010146123ee6fd922c;hp=e0a926bbef811a8a0b63d083506925b8642b0309;hpb=8202dbe236c5e206989c383004f9dba116ea12bd;p=nageru diff --git a/nageru/video_encoder.h b/nageru/video_encoder.h index e0a926b..3c82c00 100644 --- a/nageru/video_encoder.h +++ b/nageru/video_encoder.h @@ -78,7 +78,7 @@ private: static int write_packet2_thunk(void *opaque, uint8_t *buf, int buf_size, AVIODataMarkerType type, int64_t time); int write_packet2(uint8_t *buf, int buf_size, AVIODataMarkerType type, int64_t time); - AVOutputFormat *oformat; + const AVOutputFormat *oformat; mutable std::mutex qs_mu, qs_audio_mu; std::unique_ptr quicksync_encoder; // Under _and_ . movit::ResourcePool *resource_pool;