From c7f4b265d518665907aa411137d37084d9dd1618 Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Mon, 5 Jan 2015 20:11:41 +0200 Subject: [PATCH] Fixed the server teardown. --- HISTORY | 1 + tuner.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/HISTORY b/HISTORY index 5878210..ed82be5 100644 --- a/HISTORY +++ b/HISTORY @@ -92,3 +92,4 @@ VDR Plugin 'satip' Revision History 2015-01-10: Version 1.0.1 - Updated the command-line help and README. +- Fixed the server teardown. diff --git a/tuner.c b/tuner.c index e09bdbc..58742a0 100644 --- a/tuner.c +++ b/tuner.c @@ -226,6 +226,8 @@ bool cSatipTuner::Disconnect(void) if (!isempty(*streamAddrM) && (streamIdM >= 0)) { cString uri = cString::sprintf("rtsp://%s/stream=%d", *streamAddrM, streamIdM); rtspM.Teardown(*uri); + // some devices requires a teardown for TCP connection also + rtspM.Reset(); streamIdM = -1; }