Package: kodi-inputstream-ffmpegdirect / 20.5.0+ds1-1

Metadata

Package Version Patches format
kodi-inputstream-ffmpegdirect 20.5.0+ds1-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Adapt AlwinEsch s ffmpeg5 port patch.patch | (download)

src/stream/FFmpegStream.cpp | 96 83 + 13 - 0 !
src/stream/FFmpegStream.h | 6 4 + 2 - 0 !
src/utils/FFmpegCompat.h | 20 20 + 0 - 0 !
3 files changed, 107 insertions(+), 15 deletions(-)

 [patch 1/3] adapt alwinesch's ffmpeg5 port patch

Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>

0002 Fix use after free in TimeshiftSegment.patch | (download)

src/stream/TimeshiftSegment.cpp | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 [patch 2/3] fix use-after-free in timeshiftsegment

Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>

0003 ffmpeg5 Get extradata with extract_extradata BSF.patch | (download)

src/stream/FFmpegStream.cpp | 200 168 + 32 - 0 !
src/stream/FFmpegStream.h | 2 2 + 0 - 0 !
2 files changed, 170 insertions(+), 32 deletions(-)

 [patch 3/3] ffmpeg5: get extradata with extract_extradata bsf

Fixes the transport stream playback failures described in
https://bugs.debian.org/1016925

@Rogo95 made an excellent technical analysis of the root cause
and reported that to the bug thread.

Later on, James Almer (@jamrial) suggested the solution to use
extract_extradata bitstream filter to replace the removed split()
function.

Finally, I adapted the following code snippet:
https://gist.github.com/moonpfe/f6795d51294d91ee0f82f62ff6985db0
to Kodi and tested it by playing the affected files in TS format.

Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>