X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=mixer.h;h=226c91d2e4b0b8957d20d00beafe3fda75c783d8;hb=refs%2Fheads%2Fffmpeg-audio-only;hp=32a1ea476f21547137e680fb13675c80b6b42835;hpb=fa07321ba8993899f282abfcaa313035b079d9b7;p=nageru diff --git a/mixer.h b/mixer.h index 32a1ea4..226c91d 100644 --- a/mixer.h +++ b/mixer.h @@ -525,7 +525,7 @@ private: 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 upload_func; // Needs to be called to actually upload the texture to OpenGL. unsigned dropped_frames = 0; // Number of dropped frames before this one.