Skip to content

Commit

Permalink
Merge pull request #626 from ksooo/fix-stuttering-after-wake
Browse files Browse the repository at this point in the history
[Nexus] Fix TV channels stuttering after wake from suspend
  • Loading branch information
ksooo authored Nov 4, 2023
2 parents b34e1d3 + 5241137 commit a2af295
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pvr.hts/addon.xml.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="pvr.hts"
version="20.6.3"
version="20.6.4"
name="Tvheadend HTSP Client"
provider-name="Adam Sutton, Sam Stenvall, Lars Op den Kamp, Kai Sommerfeld">
<requires>@ADDON_DEPENDS@</requires>
Expand Down
3 changes: 3 additions & 0 deletions pvr.hts/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v20.6.4
- Fix TV channels stuttering after wake from suspend

v20.6.3
- Translations updates from Weblate
- fi_fi
Expand Down
9 changes: 4 additions & 5 deletions src/Tvheadend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1881,6 +1881,10 @@ void CTvheadend::SyncInitCompleted()
return;

/* Rebuild state */
for (auto* dmx : m_dmx)
dmx->RebuildState();

m_vfs->RebuildState();
m_timeRecordings.RebuildState();
m_autoRecordings.RebuildState();

Expand Down Expand Up @@ -2017,11 +2021,6 @@ void CTvheadend::SyncEpgCompleted()

void CTvheadend::SyncCompleted()
{
for (auto* dmx : m_dmx)
dmx->RebuildState();

m_vfs->RebuildState();

SyncEpgCompleted();

m_asyncState.SetState(ASYNC_DONE);
Expand Down

0 comments on commit a2af295

Please sign in to comment.