mplayer-common: import from OE-classic
authorMartin Jansa <martin.jansa@gmail.com>
Wed, 30 Nov 2011 08:06:48 +0000 (08:06 +0000)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:16:57 +0000 (08:16 -0800)
* default ao is now alsa instead of oss
* ffmp3float is terribly slow on armv4t without FPU, mad is better
* commit b28081b6039db85f18bf9e722fece59bff6e7b0f

(From meta-openembedded rev: 33cf69deda88c0b5c0090f81f4d641366000bc64)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-multimedia/mplayer/mplayer-common.bb [new file with mode: 0644]
meta-openembedded/meta-oe/recipes-multimedia/mplayer/mplayer-common/mplayer.conf [new file with mode: 0644]

diff --git a/meta-openembedded/meta-oe/recipes-multimedia/mplayer/mplayer-common.bb b/meta-openembedded/meta-oe/recipes-multimedia/mplayer/mplayer-common.bb
new file mode 100644 (file)
index 0000000..889bb95
--- /dev/null
@@ -0,0 +1,22 @@
+# Copyright Matthias Hentges <devel@hentges.net> (c) 2006
+# License: MIT (see COPYING.MIT)
+
+DESCRIPTION = "Preconfigured mplayer preferences"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+PV = "0.0.1"
+
+SRC_URI = "file://mplayer.conf"
+
+# Yes, really /usr/etc!!!
+do_install() {
+       install -d "${D}/usr${sysconfdir}/mplayer"
+
+       install -m 0644 ${WORKDIR}/mplayer.conf "${D}/usr${sysconfdir}/mplayer"
+}
+
+FILES_${PN} = "/usr${sysconfdir}/mplayer"
+
+inherit allarch
diff --git a/meta-openembedded/meta-oe/recipes-multimedia/mplayer/mplayer-common/mplayer.conf b/meta-openembedded/meta-oe/recipes-multimedia/mplayer/mplayer-common/mplayer.conf
new file mode 100644 (file)
index 0000000..37ad65f
--- /dev/null
@@ -0,0 +1,15 @@
+
+# You probably shouldn't touch these
+ac=mad,
+ao=alsa,
+
+# Required on SL-Cxxxx for correct rotation in the *VT*,
+# breaks rotation in X!
+# vf=rotate=1
+
+# Enable fullscreen display by default
+# fs=true
+
+# Drop frames to keep audio and video in sync
+framedrop=true
+