From patchwork Wed Feb 27 11:45:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: christian.braunersorensen@prevas.dk X-Patchwork-Id: 223586 X-Patchwork-Delegate: chbs@prevas.dk Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hugin.dotsrc.org (hugin.dotsrc.org [IPv6:2001:878:346::102]) by ozlabs.org (Postfix) with ESMTP id 712002C0079 for ; Wed, 27 Feb 2013 22:45:12 +1100 (EST) Received: from hugin.dotsrc.org (localhost [127.0.0.1]) by hugin.dotsrc.org (Postfix) with ESMTP id 3485B3F989 for ; Wed, 27 Feb 2013 12:45:11 +0100 (CET) X-Original-To: dev@oe-lite.org Delivered-To: dev@oe-lite.org Received: from mail01.prevas.se (mail01.prevas.se [62.95.78.3]) by hugin.dotsrc.org (Postfix) with ESMTPS id 7D1A63FDF2 for ; Wed, 27 Feb 2013 12:45:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=prevas.dk; i=@prevas.dk; l=4211; q=dns/txt; s=ironport1; t=1361965508; x=1393501508; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=v4/gLpXbXPHlVNZlgKEalCWInEDG0W/34xck5n5IRsc=; b=CNPqi1W/Wv4JUwFhqkL2LSoEwQxDMEHebOAniEW3Wo2FEdEUO5nGmc85 6dUojZ2ohqCaa5qmvZsednoYvz6YFX2WtW2zadsWGzylcWtqSQMXPWHLB d674ijJdq6pL/gJRi3qD/Ilg81o7RYkM/8prXlrflGO8lJKOyrxbSHCXR U=; X-IronPort-AV: E=Sophos;i="4.84,747,1355094000"; d="scan'208";a="2826602" Received: from vmprevas3.prevas.se (HELO smtp.prevas.se) ([172.16.8.103]) by ironport1.prevas.se with ESMTP/TLS/AES128-SHA; 27 Feb 2013 12:45:08 +0100 Received: from localhost (172.16.10.102) by smtp.prevas.se (172.16.8.105) with Microsoft SMTP Server id 14.2.342.3; Wed, 27 Feb 2013 12:45:07 +0100 Received: by localhost (Postfix, from userid 30007) id 0DDFF684400; Wed, 27 Feb 2013 11:45:08 +0000 (UTC) From: To: Subject: [PATCH 3/4] gst-plugins-base: Add patches for playbin2 and configure Date: Wed, 27 Feb 2013 11:45:03 +0000 Message-ID: <75a6e1232c9e7d234ce19ba1f3cb083e13b1b5ae.1361965429.git.christian.braunersorensen@prevas.dk> X-Mailer: git-send-email 1.8.0.3 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: dev@oe-lite.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: OE-lite development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dev-bounces@oe-lite.org Errors-To: dev-bounces@oe-lite.org From: Christian Sørensen --- recipes/gstreamer/gst-plugins-base.inc | 4 ++++ .../configure.ac-fix-subparse-plugin.patch | 27 +++++++++++++++++++++ .../gstplaybin2-rawvideo-support.patch | 28 ++++++++++++++++++++++ 3 files changed, 59 insertions(+) create mode 100644 recipes/gstreamer/gst-plugins-base/configure.ac-fix-subparse-plugin.patch create mode 100644 recipes/gstreamer/gst-plugins-base/gstplaybin2-rawvideo-support.patch diff --git a/recipes/gstreamer/gst-plugins-base.inc b/recipes/gstreamer/gst-plugins-base.inc index 4e450e3..0c3d759 100644 --- a/recipes/gstreamer/gst-plugins-base.inc +++ b/recipes/gstreamer/gst-plugins-base.inc @@ -8,6 +8,10 @@ CONFIGURE_USE_FLAGS = "use=vorbis:depend=libvorbis:autolib=vorbis:autordepend=li CONFIGURE_USE_FLAGS += "use=alsa:depend=libasound:autolib=alsa:autordepend=libasound" CONFIGURE_USE_FLAGS += "use=ogg:depend=libogg:autolib=ogg:autordepend=libogg" CONFIGURE_USE_FLAGS += "use=video4linux:conf=gst_v4l:autolib=video4linux" +CONFIGURE_USE_FLAGS += "use=gst_x11:conf=x:depend=libx11,libxv:autolib=ximagesink,xvimagesink" + +SRC_URI += "file://gstplaybin2-rawvideo-support.patch \ + file://configure.ac-fix-subparse-plugin.patch" FILES_${PN} = "\ ${base_libdir}/*${SOLIBS} \ diff --git a/recipes/gstreamer/gst-plugins-base/configure.ac-fix-subparse-plugin.patch b/recipes/gstreamer/gst-plugins-base/configure.ac-fix-subparse-plugin.patch new file mode 100644 index 0000000..8b8024d --- /dev/null +++ b/recipes/gstreamer/gst-plugins-base/configure.ac-fix-subparse-plugin.patch @@ -0,0 +1,27 @@ +Upstream-Status: Submitted [similar patch by other author, bugzilla] +Bugtracker-URL: https://bugzilla.gnome.org/show_bug.cgi?id=663600 + +Prepend PKG_CONFIG_SYSROOT to includedir, so configure doesn't +search for gstconfig.h in /usr/include. + +Signed-off-by: Andreas Oberritter +--- + configure.ac | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 1901bcf..460fb0a 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -435,7 +435,7 @@ AG_GST_CHECK_PLUGIN(volume) + dnl check for gstreamer core features (subsystems) + dnl FIXME: this assumes srcdir == builddir for uninstalled setups + GST_CONFIGPATH=`$PKG_CONFIG --variable=includedir gstreamer-0.10`"/gst/gstconfig.h" +-AG_GST_PARSE_SUBSYSTEM_DISABLES($GST_CONFIGPATH) ++AG_GST_PARSE_SUBSYSTEM_DISABLES($PKG_CONFIG_SYSROOT_DIR$GST_CONFIGPATH) + AM_CONDITIONAL(USE_XML, test $GST_DISABLE_XML != "1") + + dnl disable plug-ins that require libxml2's HTML support if it is not available +-- +1.7.5.4 + diff --git a/recipes/gstreamer/gst-plugins-base/gstplaybin2-rawvideo-support.patch b/recipes/gstreamer/gst-plugins-base/gstplaybin2-rawvideo-support.patch new file mode 100644 index 0000000..16d89b3 --- /dev/null +++ b/recipes/gstreamer/gst-plugins-base/gstplaybin2-rawvideo-support.patch @@ -0,0 +1,28 @@ +From cecba1668bc8607112a6a2b802c82b6313a0d2b4 Mon Sep 17 00:00:00 2001 +From: Adrian Alonso +Date: Tue, 19 Jun 2012 15:37:56 -0500 +Subject: [PATCH] gstplaybin2: rawvideo support + +* Enable support for rawvideo +* Support direct rendering for mfw_v4lsink plugin + +Signed-off-by: Adrian Alonso +--- + gst/playback/gstplaybin2.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c +index e01ff6c..9c638ae 100644 +--- a/gst/playback/gstplaybin2.c ++++ b/gst/playback/gstplaybin2.c +@@ -456,7 +456,7 @@ struct _GstPlayBinClass + #define DEFAULT_SUBURI NULL + #define DEFAULT_SOURCE NULL + #define DEFAULT_FLAGS GST_PLAY_FLAG_AUDIO | GST_PLAY_FLAG_VIDEO | GST_PLAY_FLAG_TEXT | \ +- GST_PLAY_FLAG_SOFT_VOLUME ++ GST_PLAY_FLAG_SOFT_VOLUME | GST_PLAY_FLAG_NATIVE_VIDEO + #define DEFAULT_N_VIDEO 0 + #define DEFAULT_CURRENT_VIDEO -1 + #define DEFAULT_N_AUDIO 0 +-- +1.7.10.2