summaryrefslogtreecommitdiff
path: root/multimedia/bombono-dvd
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-05-27 11:14:15 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-06-20 11:55:25 +0700
commitdb74e2052753fe17392355a0c1aa03ab275ae3bf (patch)
treeac3e428b038b94a0f896099d01d39825ce35d77d /multimedia/bombono-dvd
parentd7cbc3b5cbadafef4a1469de1a8389e3621d6513 (diff)
downloadslackbuilds-db74e2052753fe17392355a0c1aa03ab275ae3bf.tar.gz
multimedia/bombono-dvd: Patched for ffmpeg-2.6.3.
Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/bombono-dvd')
-rw-r--r--multimedia/bombono-dvd/bombono-dvd.SlackBuild2
-rw-r--r--multimedia/bombono-dvd/patches/bombono-dvd-1.2.2-ffmpeg26.patch13
2 files changed, 15 insertions, 0 deletions
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), из-за чего
+ // последовательный доступ выполняется с перескоками -