From e4629978e829771a9bef57abbfe0f24fe6c8e714 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Tue, 21 Oct 2014 20:26:05 -0700 Subject: [PATCH] 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. --- libobs/obs-output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libobs/obs-output.c b/libobs/obs-output.c index 4db7bb0c5..6465b2e0c 100644 --- a/libobs/obs-output.c +++ b/libobs/obs-output.c @@ -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;