Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2010-05-13 12:39:12 (GMT)
committer Daniel Drake <dan@reactivated.net>2010-05-13 12:39:12 (GMT)
commitb0ad247e90a079c97ee6b1856dda01e374f1d91b (patch)
treead2099c8dad80e260ee9c45249b0577371c74d9b /modules
parente52ef57def1348af5959e0e36397082382cd0d93 (diff)
Disable xulrunner ogg support
It doesn't provide hw accel, and blocks totem-mozplugin. Disabling xulrunner's inbuilt ogg support causes totem-mozplugin to run the show again (using hw accel)
Diffstat (limited to 'modules')
-rw-r--r--modules/x11/kspost.60.misc.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/x11/kspost.60.misc.inc b/modules/x11/kspost.60.misc.inc
index edb70ac..2f34294 100644
--- a/modules/x11/kspost.60.misc.inc
+++ b/modules/x11/kspost.60.misc.inc
@@ -79,3 +79,8 @@ EOF
chown -R olpc: /home/olpc/.scim
+# disable Firefox's OGG plugin in favour of totem, because no hw accel is
+# available. #10152
+[ -e /usr/lib/xulrunner-*/greprefs/all.js ] && \
+ sed -i -e 's:\(media.ogg.enabled",\) true:\1 false:g' /usr/lib/xulrunner-*/greprefs/all.js
+