struct NewFrame {
RefCountedFrame frame;
int64_t length; // In TIMEBASE units.
- bool interlaced;
+ bool interlaced, audio_only = false;
unsigned field; // Which field (0 or 1) of the frame to use. Always 0 for progressive.
std::function<void()> upload_func; // Needs to be called to actually upload the texture to OpenGL.
unsigned dropped_frames = 0; // Number of dropped frames before this one.