Fix a bug where audio would not restart (outputs)

Apparently I unintentionally typed received_video = false twice instead
of one for video and one for audio.

This fixes a bug where audio would not start up again on an output that
had recently started and then stopped.
This commit is contained in:
jp9000 2014-10-21 20:26:05 -07:00
parent 0f2e4f8e0c
commit e4629978e8

View File

@ -696,7 +696,7 @@ static void hook_data_capture(struct obs_output *output, bool encoded,
void (*encoded_callback)(void *data, struct encoder_packet *packet);
if (encoded) {
output->received_video = false;
output->received_audio = false;
output->received_video = false;
output->highest_audio_ts = 0;
output->highest_video_ts = 0;