gnome-mplayer: tweak defaults
authorGrégoire Gentil <gregoire@gentil.com>
Mon, 26 Oct 2009 09:06:56 +0000 (10:06 +0100)
committerKoen Kooi <koen@openembedded.org>
Mon, 26 Oct 2009 17:23:09 +0000 (18:23 +0100)
* disable fullscreen animation, the intel and omapfb driver don't like it
* reduce cache size so youtube movies don't take eons to start
* enable single instance

recipes/gnome-mplayer/files/default.patch [new file with mode: 0644]
recipes/gnome-mplayer/gnome-mplayer_0.9.8.bb

diff --git a/recipes/gnome-mplayer/files/default.patch b/recipes/gnome-mplayer/files/default.patch
new file mode 100644 (file)
index 0000000..82a4c45
--- /dev/null
@@ -0,0 +1,29 @@
+--- a/gnome-mplayer.schemas.in 2009-07-29 21:39:06.000000000 -0700
++++ b/gnome-mplayer.schemas.in 2009-07-29 21:39:53.000000000 -0700
+@@ -6,7 +6,7 @@
+       <applyto>/apps/gnome-mplayer/preferences/cache_size</applyto>
+       <owner>gnome-mplayer</owner>
+       <type>int</type>
+-      <default>2000</default>
++      <default>32</default>
+       <locale name="C">
+         <short>Cache size</short>
+         <long>The memory cache size for playing</long>
+@@ -210,7 +210,7 @@
+       <applyto>/apps/gnome-mplayer/preferences/disable_animation</applyto>
+       <owner>gnome-mplayer</owner>
+       <type>bool</type>
+-      <default>FALSE</default>
++      <default>TRUE</default>
+       <locale name="C">
+         <short>Disable Animation</short>
+         <long>Disable animation of fullscreen control bar sliding away</long>
+@@ -330,7 +330,7 @@
+       <applyto>/apps/gnome-mplayer/preferences/single_instance</applyto>
+       <owner>gnome-mplayer</owner>
+       <type>bool</type>
+-      <default>FALSE</default>
++      <default>TRUE</default>
+       <locale name="C">
+         <short>Only allow one instance of the player to run</short>
+         <long>Only allow one instance of the player to run</long>
index e138c83..b8aa30d 100644 (file)
@@ -1,5 +1,7 @@
 require gnome-mplayer.inc
 
-SRC_URI += "file://gnome-mplayer-svn.diff;patch=1;pnum=0"
+SRC_URI += "file://gnome-mplayer-svn.diff;patch=1;pnum=0 \
+            file://default.patch;patch=1 \
+"
 
-PR = "r7"
+PR = "r8"