#define _VIDEO_ENCODER_H
#include <epoxy/gl.h>
+#include <epoxy/gl_generated.h>
#include <movit/image_format.h>
#include <stdbool.h>
#include <stdint.h>
#include <mutex>
#include <string>
#include <vector>
-#include <chrono>
extern "C" {
#include <libavformat/avformat.h>
std::atomic<int> quicksync_encoders_in_shutdown{0};
std::atomic<int> overriding_bitrate{0};
+ std::atomic<bool> should_quit{false};
// Encoders that are shutdown, but need to call release_gl_resources()
// (or be deleted) from some thread with an OpenGL context.