diff --git a/pvr.hts/addon.xml.in b/pvr.hts/addon.xml.in index f43e66c0..f3ccfe6c 100644 --- a/pvr.hts/addon.xml.in +++ b/pvr.hts/addon.xml.in @@ -1,7 +1,7 @@ @ADDON_DEPENDS@ diff --git a/pvr.hts/changelog.txt b/pvr.hts/changelog.txt index dfdc5c75..33e911ce 100644 --- a/pvr.hts/changelog.txt +++ b/pvr.hts/changelog.txt @@ -1,3 +1,6 @@ +4.4.14 +- Fix HTSPDemuxer::IsRealTimeStream to always return true if subscription is active. + 4.4.13 - Fixed missing description in EPG and DVR tags. diff --git a/src/tvheadend/HTSPDemuxer.cpp b/src/tvheadend/HTSPDemuxer.cpp index d8ee6ae2..c9c237b2 100644 --- a/src/tvheadend/HTSPDemuxer.cpp +++ b/src/tvheadend/HTSPDemuxer.cpp @@ -297,12 +297,7 @@ bool HTSPDemuxer::IsTimeShifting() const bool HTSPDemuxer::IsRealTimeStream() const { - if (!m_subscription.IsActive()) - return false; - - /* Handle as real time when reading close to the EOF (10 secs) */ - CLockObject lock(m_mutex); - return (m_timeshiftStatus.shift < 10000000); + return m_subscription.IsActive(); } PVR_ERROR HTSPDemuxer::GetStreamTimes(PVR_STREAM_TIMES *times) const