X-Git-Url: https://git.sesse.net/?p=nageru;a=blobdiff_plain;f=video_encoder.h;h=21595a380c992b7df76c0d3531e0cee72b5b2cfe;hp=31c0c5f05ff41cb5a97510a0a50e2d240442dcc2;hb=refs%2Fheads%2Fffmpeg-audio-only;hpb=bc0683200d63d2fd0d49c0b998885c8b4d9db77e diff --git a/video_encoder.h b/video_encoder.h index 31c0c5f..21595a3 100644 --- a/video_encoder.h +++ b/video_encoder.h @@ -79,8 +79,8 @@ private: int write_packet2(uint8_t *buf, int buf_size, AVIODataMarkerType type, int64_t time); AVOutputFormat *oformat; - mutable std::mutex qs_mu; - std::unique_ptr quicksync_encoder; // Under . + mutable std::mutex qs_mu, qs_audio_mu; + std::unique_ptr quicksync_encoder; // Under _and_ . movit::ResourcePool *resource_pool; QSurface *surface; std::string va_display;