summaryrefslogtreecommitdiff
path: root/multimedia/gecko-mediaplayer/plugin.cpp.patch
diff options
context:
space:
mode:
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) {