0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-19 20:32:15 +02:00

libobs: Remove unused wait_for_video flag

This commit is contained in:
derrod 2023-12-03 18:25:24 +01:00 committed by Lain
parent 689daf57dc
commit b680700bba
2 changed files with 1 additions and 5 deletions

View File

@ -1246,9 +1246,7 @@ struct obs_encoder {
/* if a video encoder is paired with an audio encoder, make it start
* up at the specific timestamp. if this is the audio encoder,
* wait_for_video makes it wait until it's ready to sync up with
* video */
bool wait_for_video;
* it waits until it's ready to sync up with video */
bool first_received;
struct obs_encoder *paired_encoder;
int64_t offset_usec;

View File

@ -2402,8 +2402,6 @@ static inline void pair_encoders(obs_output_t *output)
if (!audio->active && !video->active &&
!video->paired_encoder && !audio->paired_encoder) {
audio->wait_for_video = true;
audio->paired_encoder = video;
video->paired_encoder = audio;
}