video_format.width = width;
video_format.height = height;
-
- current_video_frame.received_timestamp = now;
}
}
audio_format.bits_per_sample = 32;
audio_format.num_channels = 2;
-
- current_audio_frame.received_timestamp = now;
}
}
+ current_video_frame.received_timestamp = now;
+ current_audio_frame.received_timestamp = now;
+
if (current_video_frame.data != nullptr || current_audio_frame.data != nullptr) {
// TODO: Put into a queue and put into a dequeue thread, if the
// BlackMagic drivers don't already do that for us?