summaryrefslogtreecommitdiffstats
path: root/kde/kdemultimedia/kdemultimedia-mplayerthumbs-horizontal.patch
diff options
context:
space:
mode:
Diffstat (limited to 'kde/kdemultimedia/kdemultimedia-mplayerthumbs-horizontal.patch')
-rw-r--r--kde/kdemultimedia/kdemultimedia-mplayerthumbs-horizontal.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/kde/kdemultimedia/kdemultimedia-mplayerthumbs-horizontal.patch b/kde/kdemultimedia/kdemultimedia-mplayerthumbs-horizontal.patch
new file mode 100644
index 000000000..51113d5d2
--- /dev/null
+++ b/kde/kdemultimedia/kdemultimedia-mplayerthumbs-horizontal.patch
@@ -0,0 +1,19 @@
+diff -Naur kdemultimedia-4.6.5.orig/mplayerthumbs/src/videopreview.cpp kdemultimedia-4.6.5/mplayerthumbs/src/videopreview.cpp
+--- kdemultimedia-4.6.5.orig/mplayerthumbs/src/videopreview.cpp 2009-05-14 19:27:36.000000000 +0200
++++ kdemultimedia-4.6.5/mplayerthumbs/src/videopreview.cpp 2010-01-16 00:43:05.000000000 +0100
+@@ -91,8 +91,13 @@
+ else
+ sprocket = QPixmap(KStandardDirs::locate( "data", "videothumbnail/sprocket-large.png" ));
+
+- for (int y = 0; y < pix.height() + sprocket.height(); y += sprocket.height()) {
+- painter.drawPixmap( 0, y, sprocket );
++// for (int y = 0; y < pix.height() + sprocket.height(); y += sprocket.height()) {
++// painter.drawPixmap( 0, y, sprocket );
++// }
++
++ for (int x = 0; x < pix.width() + sprocket.width(); x += sprocket.width()) {
++ painter.drawPixmap( x, 0, sprocket );
++ painter.drawPixmap( x, (pix.height() - sprocket.height()), sprocket );
+ }
+ }
+ // End of xine-artsplugin code