From: Koen Kooi Date: Sat, 23 Jan 2010 11:42:15 +0000 (+0100) Subject: gst-plugins-base 0.10.25: add patch to fix 'native' sinks, so no more spurious resamp... X-Git-Tag: Release-2010-05/1~760 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=caebb5c3e03a389cd3355ede830e99b08a27185c;p=openembedded.git gst-plugins-base 0.10.25: add patch to fix 'native' sinks, so no more spurious resample and ffmpegcolorspace elements --- diff --git a/recipes/gstreamer/gst-plugins-base/fix-playbin2.patch b/recipes/gstreamer/gst-plugins-base/fix-playbin2.patch new file mode 100644 index 0000000000..8aba3b6eae --- /dev/null +++ b/recipes/gstreamer/gst-plugins-base/fix-playbin2.patch @@ -0,0 +1,26 @@ +From 0fe6b6e8abb131471d5bd04d7f7e27ca98a67659 Mon Sep 17 00:00:00 2001 +From: Brijesh Singh +Date: Wed, 13 Jan 2010 08:39:54 +0000 +Subject: playsink: Fix handling of the native audio/video flags + +Fixes bug #606687. +--- + +--- /tmp/gstplaysink.c 2010-01-23 12:23:20.000000000 +0100 ++++ gst-plugins-base-0.10.25/gst/playback/gstplaysink.c 2010-01-23 12:27:51.000000000 +0100 +@@ -1880,12 +1880,13 @@ + * pick one and ignore the other then instead of erroring out?) */ + if (need_text && need_subp) + goto subs_and_text; +- } else if (flags & GST_PLAY_FLAG_VIDEO && playsink->video_pad) { ++ } else if (((flags & GST_PLAY_FLAG_VIDEO) ++ || (flags & GST_PLAY_FLAG_NATIVE_VIDEO)) && playsink->video_pad) { + /* we have video and we are requested to show it */ + need_video = TRUE; + } + if (playsink->audio_pad) { +- if (flags & GST_PLAY_FLAG_AUDIO) { ++ if ((flags & GST_PLAY_FLAG_AUDIO) || (flags & GST_PLAY_FLAG_NATIVE_AUDIO)) { + need_audio = TRUE; + } + if (playsink->audio_pad_raw) { diff --git a/recipes/gstreamer/gst-plugins-base_0.10.25.bb b/recipes/gstreamer/gst-plugins-base_0.10.25.bb index 2b33c23c3a..5852991463 100644 --- a/recipes/gstreamer/gst-plugins-base_0.10.25.bb +++ b/recipes/gstreamer/gst-plugins-base_0.10.25.bb @@ -1,6 +1,9 @@ require gst-plugins.inc -PR = "${INC_PR}.1" +SRC_URI += "file://fix-playbin2.patch;patch=1 \ +" + +PR = "${INC_PR}.2" PROVIDES += "gst-plugins"