diff -Nru kodi-inputstream-adaptive-2.3.21/debian/changelog kodi-inputstream-adaptive-2.3.22/debian/changelog --- kodi-inputstream-adaptive-2.3.21/debian/changelog 2013-05-31 22:59:22.000000000 +0000 +++ kodi-inputstream-adaptive-2.3.22/debian/changelog 2013-05-31 22:59:22.000000000 +0000 @@ -1,4 +1,4 @@ -kodi-inputstream-adaptive (2.3.21-1~bionic) bionic; urgency=low +kodi-inputstream-adaptive (2.3.22-1~bionic) bionic; urgency=low [ kodi ] * autogenerated dummy changelog diff -Nru kodi-inputstream-adaptive-2.3.21/inputstream.adaptive/addon.xml.in kodi-inputstream-adaptive-2.3.22/inputstream.adaptive/addon.xml.in --- kodi-inputstream-adaptive-2.3.21/inputstream.adaptive/addon.xml.in 2013-05-31 22:59:22.000000000 +0000 +++ kodi-inputstream-adaptive-2.3.22/inputstream.adaptive/addon.xml.in 2013-05-31 22:59:22.000000000 +0000 @@ -1,7 +1,7 @@ @ADDON_DEPENDS@ @@ -17,6 +17,10 @@ InputStream client for adaptive streams @PLATFORM@ +v2.3.22 (2019-06-14) +- Bento4: sample duration workaround (24/1) +- WVDecrypter: remove sleep between decrypt calls + v2.3.21 (2019-06-07) - [DASH] initialize segment::range_begin_ for URL segments (youtube) diff -Nru kodi-inputstream-adaptive-2.3.21/lib/libbento4/Core/Ap4TrunAtom.cpp kodi-inputstream-adaptive-2.3.22/lib/libbento4/Core/Ap4TrunAtom.cpp --- kodi-inputstream-adaptive-2.3.21/lib/libbento4/Core/Ap4TrunAtom.cpp 2013-05-31 22:59:22.000000000 +0000 +++ kodi-inputstream-adaptive-2.3.22/lib/libbento4/Core/Ap4TrunAtom.cpp 2013-05-31 22:59:22.000000000 +0000 @@ -127,6 +127,12 @@ for (unsigned int i=0; i 1 sequences + if (i && m_Entries[i].sample_duration == 1 && m_Entries[i - 1].sample_duration > 1) + { + m_Entries[i].sample_duration = m_Entries[i - 1].sample_duration >> 1; + m_Entries[i - 1].sample_duration -= m_Entries[i].sample_duration; + } --record_fields_count; } if (flags & AP4_TRUN_FLAG_SAMPLE_SIZE_PRESENT) { diff -Nru kodi-inputstream-adaptive-2.3.21/README.md kodi-inputstream-adaptive-2.3.22/README.md --- kodi-inputstream-adaptive-2.3.21/README.md 2013-05-31 22:59:22.000000000 +0000 +++ kodi-inputstream-adaptive-2.3.22/README.md 2013-05-31 22:59:22.000000000 +0000 @@ -1,4 +1,4 @@ -# inputstream.adaptive (2.3.21) +# inputstream.adaptive (2.3.22) This is an adaptive file addon for kodi's new InputStream Interface. diff -Nru kodi-inputstream-adaptive-2.3.21/wvdecrypter/cdm/media/cdm/cdm_adapter.cc kodi-inputstream-adaptive-2.3.22/wvdecrypter/cdm/media/cdm/cdm_adapter.cc --- kodi-inputstream-adaptive-2.3.21/wvdecrypter/cdm/media/cdm/cdm_adapter.cc 2013-05-31 22:59:22.000000000 +0000 +++ kodi-inputstream-adaptive-2.3.22/wvdecrypter/cdm/media/cdm/cdm_adapter.cc 2013-05-31 22:59:22.000000000 +0000 @@ -342,7 +342,7 @@ { //We need this wait here for fast systems, during buffering //widewine stopps if some seconds (5??) are fetched too fast - std::this_thread::sleep_for(std::chrono::milliseconds(5)); + //std::this_thread::sleep_for(std::chrono::milliseconds(5)); std::lock_guard lock(decrypt_mutex_);