From 56f4dd53593b929827c006bd539e162d549a2923 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Sat, 7 Mar 2015 10:07:16 -0800 Subject: [PATCH] obs-outputs: Fix bug (headers not always sent) If a disconnection occurs, the sent_headers would still be set to true, and when a reconnect occurs, it would not send the headers again. --- plugins/obs-outputs/rtmp-stream.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/obs-outputs/rtmp-stream.c b/plugins/obs-outputs/rtmp-stream.c index d192b03cd..523442c17 100644 --- a/plugins/obs-outputs/rtmp-stream.c +++ b/plugins/obs-outputs/rtmp-stream.c @@ -264,6 +264,7 @@ static void *send_thread(void *data) } stream->active = false; + stream->sent_headers = false; return NULL; }