Skip to content

Commit

Permalink
Merge pull request #627 from ksooo/fix-stuttering-after-wake-omega
Browse files Browse the repository at this point in the history
[Omega] Fix TV channels stuttering after wake from suspend
  • Loading branch information
ksooo authored Nov 4, 2023
2 parents 8af27c6 + 79e1cfd commit 029bbca
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="21.1.0"
version="21.1.1"
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 @@
v21.1.1
- Fix TV channels stuttering after wake from suspend

v21.1.0
- Kodi inputstream API update to version 3.3.0

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 029bbca

Please sign in to comment.