[oe-commits] Koen Kooi : mplayer: bump SRCREV

git version control git at git.openembedded.org
Tue Sep 8 08:04:44 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 3a5ed90ae5d9d2cc80ba08a97711441f72c49f56
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=3a5ed90ae5d9d2cc80ba08a97711441f72c49f56

Author: Koen Kooi <koen at openembedded.org>
Date:   Tue Sep  8 10:03:36 2009 +0200

mplayer: bump SRCREV

---

 recipes/mplayer/files/vo_omapfb.c |   18 ++++++++++++++++++
 recipes/mplayer/mplayer_svn.bb    |    5 ++---
 2 files changed, 20 insertions(+), 3 deletions(-)

diff --git a/recipes/mplayer/files/vo_omapfb.c b/recipes/mplayer/files/vo_omapfb.c
index 127e550..0fb32d8 100644
--- a/recipes/mplayer/files/vo_omapfb.c
+++ b/recipes/mplayer/files/vo_omapfb.c
@@ -118,6 +118,24 @@ static Window parent = 0; // pointer to the newly created window.
 /* This is used to intercept window closing requests.  */
 static Atom wm_delete_window;
 
+
+void vo_calc_drwXY(uint32_t *drwX, uint32_t *drwY)
+{
+    *drwX = *drwY = 0;
+    if (vo_fs) {
+        aspect(&vo_dwidth, &vo_dheight, A_ZOOM);
+        vo_dwidth  = FFMIN(vo_dwidth, vo_screenwidth);
+        vo_dheight = FFMIN(vo_dheight, vo_screenheight);
+        *drwX      = (vo_screenwidth - vo_dwidth) / 2;
+        *drwY      = (vo_screenheight - vo_dheight) / 2;
+        mp_msg(MSGT_VO, MSGL_V, "[vo-fs] dx: %d dy: %d dw: %d dh: %d\n",
+               *drwX, *drwY, vo_dwidth, vo_dheight);
+    } else if (WinID == 0) {
+        *drwX = vo_dx;
+        *drwY = vo_dy;
+    }
+}
+
 /**
  * Function to get the offset to be used when in windowed mode
  * or when using -wid option
diff --git a/recipes/mplayer/mplayer_svn.bb b/recipes/mplayer/mplayer_svn.bb
index d26302e..d065837 100644
--- a/recipes/mplayer/mplayer_svn.bb
+++ b/recipes/mplayer/mplayer_svn.bb
@@ -8,7 +8,7 @@ DEPENDS = "live555 libdvdread libtheora virtual/libsdl ffmpeg xsp zlib libpng jp
 RDEPENDS = "mplayer-common"
 LICENSE = "GPL"
 SRC_URI = "svn://svn.mplayerhq.hu/mplayer;module=trunk \
-	   file://Makefile-codec-cfg.patch;patch=1 \
+#	   file://Makefile-codec-cfg.patch;patch=1 \
 	   file://pld-onlyarm5-svn.patch;patch=1 \
 	   file://makefile-nostrip-svn.patch;patch=1 \
 	   file://configh \
@@ -87,8 +87,6 @@ EXTRA_OECONF = " \
 	--enable-sortsub \
 	--disable-fribidi \
 	--disable-enca \
-	--disable-macosx \
-	--disable-macosx-bundle \
 	--disable-ftp \
 	--disable-vstream \
 	\
@@ -210,6 +208,7 @@ do_configure() {
 	sed -i 's|/usr/lib|${STAGING_LIBDIR}|g' ${S}/configure
 	sed -i 's|/usr/\S*include[\w/]*||g' ${S}/configure
 	sed -i 's|/usr/\S*lib[\w/]*||g' ${S}/configure
+	sed -i 's|HOST_CC|BUILD_CC|' ${S}/Makefile
 
 	export SIMPLE_TARGET_SYS="$(echo ${TARGET_SYS} | sed s:${TARGET_VENDOR}::g)"
 	./configure ${EXTRA_OECONF}





More information about the Openembedded-commits mailing list