summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthlo <smarttv640@gmail.com>2013-02-02 14:26:32 +0100
committerthlo <t.lohmar@gmx.de>2013-02-02 14:26:32 +0100
commit5bf6f7ae6514515d66a4059194f0a3d6abebbcbe (patch)
tree6de1ae326561c4eaa428dc765a9361c290feed64
parent0b2c6753dbe0f6963eae8713b0b9eb3dcace4896 (diff)
downloadvdr-plugin-smarttvweb-5bf6f7ae6514515d66a4059194f0a3d6abebbcbe.tar.gz
vdr-plugin-smarttvweb-5bf6f7ae6514515d66a4059194f0a3d6abebbcbe.tar.bz2
do stream-to-end when time request is used while recording is on-going.
-rwxr-xr-xvdr-smarttvweb/httpresource.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/vdr-smarttvweb/httpresource.c b/vdr-smarttvweb/httpresource.c
index 3e1e21c..659ef17 100755
--- a/vdr-smarttvweb/httpresource.c
+++ b/vdr-smarttvweb/httpresource.c
@@ -2194,6 +2194,9 @@ bool cHttpResource::isTimeRequest(struct stat64 *statbuf) {
}
}
+ if (mIsRecording)
+ mStreamToEnd = true;
+
time = atof(time_str.c_str());
*(mLog->log())<< DEBUGPREFIX
<< " Found a Time Parameter: " << time