summaryrefslogtreecommitdiffstats
path: root/multimedia/gecko-mediaplayer/plugin.cpp.patch
diff options
context:
space:
mode:
author Phillip Warner <pc_warner@yahoo.com>2012-09-10 21:54:43 +0200
committer Robby Workman <rworkman@slackbuilds.org>2012-09-10 16:35:40 -0500
commit59220ca932c4cbebc200e3e6846257138f0abd78 (patch)
tree0361dcdbd4f29b70381d581a7c1b55adbea8f2bd /multimedia/gecko-mediaplayer/plugin.cpp.patch
parentebceb474cd4030daba814738bc584050fb0fd8f1 (diff)
downloadslackbuilds-59220ca932c4cbebc200e3e6846257138f0abd78.tar.gz
slackbuilds-59220ca932c4cbebc200e3e6846257138f0abd78.tar.xz
multimedia/gecko-mediaplayer: Updated for version 1.0.6.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'multimedia/gecko-mediaplayer/plugin.cpp.patch')
-rw-r--r--multimedia/gecko-mediaplayer/plugin.cpp.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/multimedia/gecko-mediaplayer/plugin.cpp.patch b/multimedia/gecko-mediaplayer/plugin.cpp.patch
new file mode 100644
index 0000000000..f01a1d9f38
--- /dev/null
+++ b/multimedia/gecko-mediaplayer/plugin.cpp.patch
@@ -0,0 +1,24 @@
+diff -Naur gecko-mediaplayer-1.0.6-orig/src/plugin.cpp gecko-mediaplayer-1.0.6/src/plugin.cpp
+--- gecko-mediaplayer-1.0.6-orig/src/plugin.cpp 2012-03-21 12:23:46.000000000 -0400
++++ gecko-mediaplayer-1.0.6/src/plugin.cpp 2012-08-11 22:54:14.000000000 -0400
+@@ -1391,7 +1391,8 @@
+ }
+ }
+ // Disable playing of partially cached apple.com files, mplayer seems to crash on these files
+- /*
++ // Bring this Back in
++
+ if (!item->opened) {
+ if ((item->localsize >= (plugin->cache_size * 1024)) && (percent >= 0.2)) {
+ //printf("Setting to play because %i > %i\n", item->localsize,
+@@ -1423,10 +1424,6 @@
+ }
+
+ }
+- */
+-
+- // try downloading entire file
+- ok_to_play = FALSE;
+
+ // if not opened, over cache level and not an href target then try and open it
+ if ((!item->opened) && ok_to_play == TRUE) {