summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2014-03-08 21:42:32 +0000
committerJoerg Bornkessel <hd_brummy@gentoo.org>2014-03-08 21:42:32 +0000
commit68dbc8850d6b187b70b24f010b811a4173a52b67 (patch)
treea8df94a670e77b3386b08aea7207f37f8e82281c /media-plugins/vdr-vcd/files
parentVersion bump (diff)
downloadhistorical-68dbc8850d6b187b70b24f010b811a4173a52b67.tar.gz
historical-68dbc8850d6b187b70b24f010b811a4173a52b67.tar.bz2
historical-68dbc8850d6b187b70b24f010b811a4173a52b67.zip
fixed compile with >=vdr-2.1.3, thx to E.Seifert on wrt bug 503452
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0x34C2808A
Diffstat (limited to 'media-plugins/vdr-vcd/files')
-rw-r--r--media-plugins/vdr-vcd/files/vdr-vcd-0.9_devicetrickspeed.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/media-plugins/vdr-vcd/files/vdr-vcd-0.9_devicetrickspeed.patch b/media-plugins/vdr-vcd/files/vdr-vcd-0.9_devicetrickspeed.patch
new file mode 100644
index 000000000000..69aefba987a7
--- /dev/null
+++ b/media-plugins/vdr-vcd/files/vdr-vcd-0.9_devicetrickspeed.patch
@@ -0,0 +1,17 @@
+https://bugs.gentoo.org/show_bug.cgi?id=503452
+patch provided by E.Seifert
+
+--- vcd-0.9/player.c 2008-01-16 13:26:38.000000000 +0100
++++ vcd-0.9/player.c 2014-03-04 22:07:39.374281971 +0100
+@@ -161,7 +161,11 @@
+ int sp = (Speeds[nts] > 0) ? Mult / Speeds[nts] : -Speeds[nts] * Mult;
+ if (sp > MAX_VIDEO_SLOWMOTION)
+ sp = MAX_VIDEO_SLOWMOTION;
++#if VDRVERSNUM >= 20103
++ DeviceTrickSpeed(sp,true);
++#else
+ DeviceTrickSpeed(sp);
++#endif
+ }
+ }
+