- struct PendingFrame {
- RefCountedGLsync fence;
- std::vector<RefCountedFrame> input_frames;
- };
- std::map<int, PendingFrame> pending_video_frames;
- std::map<int, std::vector<float>> pending_audio_frames;
+ std::map<int, PendingFrame> pending_video_frames; // under frame_queue_mutex
+ std::map<int64_t, std::vector<float>> pending_audio_frames; // under frame_queue_mutex