From bdb1578ba65cc472aefc5162c0c8bb6e98c1f7e4 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Thu, 17 Nov 2016 13:53:17 +0100 Subject: [PATCH] Robustified RTMP thisPacket handling --- src/output/output_rtmp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output/output_rtmp.cpp b/src/output/output_rtmp.cpp index 3cb81b3e..319bf191 100644 --- a/src/output/output_rtmp.cpp +++ b/src/output/output_rtmp.cpp @@ -131,7 +131,7 @@ namespace Mist { // erase & pos = nextpos + 1; } - if (trackSwitch){ + if (trackSwitch && thisPacket){ seek(thisPacket.getTime()); } }