From 91a283b887d2945f504dc812cb45afc23dbe8b9b Mon Sep 17 00:00:00 2001 From: phunkyfish Date: Sat, 2 Mar 2024 08:23:00 +0000 Subject: [PATCH 1/2] ffmpeg5 moved to using size_t instead of int, as we read demux packet side data for timeshift we must also change it there --- src/stream/TimeshiftSegment.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stream/TimeshiftSegment.cpp b/src/stream/TimeshiftSegment.cpp index 9e1cd09c..22dae81a 100644 --- a/src/stream/TimeshiftSegment.cpp +++ b/src/stream/TimeshiftSegment.cpp @@ -320,7 +320,7 @@ int TimeshiftSegment::LoadPacket(std::shared_ptr& packet) if (avPacket) { enum AVPacketSideDataType type; - int size; + size_t size; for (int i = 0; i < packet->iSideDataElems; i++) { m_fileHandle.Read(&type, sizeof(type)); From 97ea3970007291ee142fbf35260aeccde09dc9a4 Mon Sep 17 00:00:00 2001 From: phunkyfish Date: Sat, 2 Mar 2024 08:24:35 +0000 Subject: [PATCH 2/2] changelog and version 21.3.4 --- inputstream.ffmpegdirect/addon.xml.in | 2 +- inputstream.ffmpegdirect/changelog.txt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/inputstream.ffmpegdirect/addon.xml.in b/inputstream.ffmpegdirect/addon.xml.in index cad51bb6..df9b23ec 100644 --- a/inputstream.ffmpegdirect/addon.xml.in +++ b/inputstream.ffmpegdirect/addon.xml.in @@ -1,7 +1,7 @@ @ADDON_DEPENDS@ diff --git a/inputstream.ffmpegdirect/changelog.txt b/inputstream.ffmpegdirect/changelog.txt index 3962e5f6..66f223db 100644 --- a/inputstream.ffmpegdirect/changelog.txt +++ b/inputstream.ffmpegdirect/changelog.txt @@ -1,3 +1,6 @@ +v21.3.4 +- Fix timeshift mode + v21.3.3 - Patch to check for nullptr on surface for dxva2 on window