From: Koen Kooi Date: Thu, 5 Mar 2009 08:44:10 +0000 (+0100) Subject: gst-ffmpeg: lower rank of plugin to allow better plugins to get picked over this one X-Git-Tag: Release-2010-05/1~3862 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34f365f297e24b5a5e8be8b3cd90c35305630d55;p=openembedded.git gst-ffmpeg: lower rank of plugin to allow better plugins to get picked over this one --- diff --git a/packages/gstreamer/gst-ffmpeg/lower-rank.diff b/packages/gstreamer/gst-ffmpeg/lower-rank.diff new file mode 100644 index 0000000000..4e81e379b2 --- /dev/null +++ b/packages/gstreamer/gst-ffmpeg/lower-rank.diff @@ -0,0 +1,13 @@ +Lower the rank of ffmpeg plugin so codecs that hook into accelerated pieces (e.g. dsp or hw engines) can get picked over this + +--- /tmp/gstffmpegdec.c 2009-03-05 09:31:15.000000000 +0100 ++++ gst-ffmpeg-0.10.6/ext/ffmpeg/gstffmpegdec.c 2009-03-05 09:33:09.000000000 +0100 +@@ -2588,7 +2588,7 @@ + case CODEC_ID_MSMPEG4V3: + case CODEC_ID_H264: + case CODEC_ID_COOK: +- rank = GST_RANK_PRIMARY; ++ rank = GST_RANK_SECONDARY; + break; + case CODEC_ID_DVVIDEO: + /* we have a good dv decoder, fast on both ppc as well as x86. they say diff --git a/packages/gstreamer/gst-ffmpeg_0.10.6.bb b/packages/gstreamer/gst-ffmpeg_0.10.6.bb index 1e7f28d115..20cea128dd 100644 --- a/packages/gstreamer/gst-ffmpeg_0.10.6.bb +++ b/packages/gstreamer/gst-ffmpeg_0.10.6.bb @@ -4,12 +4,13 @@ PRIORITY = "optional" LICENSE = "LGPL" HOMEPAGE = "http://www.gstreamer.net/" DEPENDS = "ffmpeg gstreamer gst-plugins-base zlib" -PR = "r0" +PR = "r1" inherit autotools pkgconfig SRC_URI = "http://gstreamer.freedesktop.org/src/${PN}/${PN}-${PV}.tar.bz2 \ file://configure-hack.diff;patch=1 \ + file://lower-rank.diff;patch=1 \ " FILES_${PN} += "${libdir}/gstreamer-0.10/*.so"