From db74e2052753fe17392355a0c1aa03ab275ae3bf Mon Sep 17 00:00:00 2001 From: David Spencer Date: Wed, 27 May 2015 11:14:15 +0100 Subject: multimedia/bombono-dvd: Patched for ffmpeg-2.6.3. Signed-off-by: David Spencer Signed-off-by: Heinz Wiesinger Signed-off-by: Willy Sudiarto Raharjo --- multimedia/bombono-dvd/bombono-dvd.SlackBuild | 2 ++ .../bombono-dvd/patches/bombono-dvd-1.2.2-ffmpeg26.patch | 13 +++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 multimedia/bombono-dvd/patches/bombono-dvd-1.2.2-ffmpeg26.patch (limited to 'multimedia') diff --git a/multimedia/bombono-dvd/bombono-dvd.SlackBuild b/multimedia/bombono-dvd/bombono-dvd.SlackBuild index a8534421a9..c6529f4f1e 100644 --- a/multimedia/bombono-dvd/bombono-dvd.SlackBuild +++ b/multimedia/bombono-dvd/bombono-dvd.SlackBuild @@ -77,6 +77,8 @@ sed -i "s|-O2||" SConstruct patch -p1 < $CWD/patches/bombono-dvd-1.2.0-cdrtools.patch # Fix for the newer ffmpeg - thanks ArchLinux patch -p1 < $CWD/patches/fix_ffmpeg_codecid.patch +# Fix for ffmpeg-2.6.3 - thanks to Gentoo and John Vogel +patch -p1 < $CWD/patches/bombono-dvd-1.2.2-ffmpeg26.patch # Build package diff --git a/multimedia/bombono-dvd/patches/bombono-dvd-1.2.2-ffmpeg26.patch b/multimedia/bombono-dvd/patches/bombono-dvd-1.2.2-ffmpeg26.patch new file mode 100644 index 0000000000..b511a9d4eb --- /dev/null +++ b/multimedia/bombono-dvd/patches/bombono-dvd-1.2.2-ffmpeg26.patch @@ -0,0 +1,13 @@ +Index: bombono-dvd-1.2.2/src/mgui/ffviewer.cpp +=================================================================== +--- bombono-dvd-1.2.2.orig/src/mgui/ffviewer.cpp ++++ bombono-dvd-1.2.2/src/mgui/ffviewer.cpp +@@ -1120,7 +1120,7 @@ static bool SeekSetTime(FFViewer& ffv, d + bool seek_ok = TimeSeek(ffv, start_time, time); + if( !seek_ok && CanByteSeek(ffv.iCtx) ) + // тогда переходим в начало файла +- seek_ok = DoSeek(ffv, ffv.iCtx->data_offset, true); ++ seek_ok = DoSeek(ffv, 0, true); + + // некоторое видео глючит в начале (Hellboy), из-за чего + // последовательный доступ выполняется с перескоками - -- cgit v1.2.3