Hello community, here is the log from the commit of package gstreamer-0_10-plugins-good for openSUSE:Factory checked in at 2012-02-20 16:12:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gstreamer-0_10-plugins-good (Old) and /work/SRC/openSUSE:Factory/.gstreamer-0_10-plugins-good.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gstreamer-0_10-plugins-good", Maintainer is "gnome-maintain...@suse.de" Changes: -------- --- /work/SRC/openSUSE:Factory/gstreamer-0_10-plugins-good/gstreamer-0_10-plugins-good.changes 2011-09-23 02:02:08.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gstreamer-0_10-plugins-good.new/gstreamer-0_10-plugins-good.changes 2012-02-20 16:12:46.000000000 +0100 @@ -1,0 +2,7 @@ +Mon Feb 20 07:44:13 UTC 2012 - g...@suse.com + +- Add gst-non-fatal-query-webcam-attr.patch to make the webcam + control attribute errors non-fatal to support more webcams + (bnc#747827, bgo#670197) + +------------------------------------------------------------------- New: ---- gst-non-fatal-query-webcam-attr.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gstreamer-0_10-plugins-good.spec ++++++ --- /var/tmp/diff_new_pack.VbvlG0/_old 2012-02-20 16:12:49.000000000 +0100 +++ /var/tmp/diff_new_pack.VbvlG0/_new 2012-02-20 16:12:49.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package gstreamer-0_10-plugins-good # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -73,6 +73,8 @@ Source0: http://gstreamer.freedesktop.org/src/gst-plugins-good/%{_name}-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM gst-plusesink-bufsize.diff bnc684781 ti...@suse.de -- increase the pulsesink transfer chunk size Patch1: gst-pulsesink-bufsize.diff +# PATCH-FIX-UPSTREAM gst-non-fatal-query-webcam-attr.patch bnc#747827 g...@suse.com -- the errors from the webcam control attributes queries are not fatal +Patch2: gst-non-fatal-query-webcam-attr.patch Url: http://gstreamer.freedesktop.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: GStreamer Streaming-Media Framework Plug-Ins @@ -173,6 +175,7 @@ chmod 0644 %{S:0} %setup -q -n %{_name}-%{version} %patch1 -p1 +%patch2 -p1 translation-update-upstream po gst-plugins-good-0.10 %build ++++++ gst-non-fatal-query-webcam-attr.patch ++++++ >From ef37bb48bc6093c218271cf49ff063f57b6f0207 Mon Sep 17 00:00:00 2001 From: Tuukka Pasanen <tuukka.pasa...@ilmi.fi> Date: Thu, 16 Feb 2012 12:59:10 +0000 Subject: [PATCH 1/2] v4l2src: fix for webcamstudio vloopback Because vlooback emits 25 - ENOTTY and no EINVAL v4l2src thought it can't handle this and does not work. https://bugzilla.gnome.org/show_bug.cgi?id=669455 --- sys/v4l2/v4l2_calls.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sys/v4l2/v4l2_calls.c b/sys/v4l2/v4l2_calls.c index 3808d8e..c8af0a6 100644 --- a/sys/v4l2/v4l2_calls.c +++ b/sys/v4l2/v4l2_calls.c @@ -253,7 +253,7 @@ gst_v4l2_fill_lists (GstV4l2Object * v4l2object) control.id = n; if (v4l2_ioctl (v4l2object->video_fd, VIDIOC_QUERYCTRL, &control) < 0) { - if (errno == EINVAL) { + if (errno == EINVAL || errno == ENOTTY) { if (n < V4L2_CID_PRIVATE_BASE) { GST_DEBUG_OBJECT (e, "skipping control %08x", n); /* continue so that we also check private controls */ -- 1.7.7 >From c1c858f2733aba9fd8f6120656b0db20a66b6c77 Mon Sep 17 00:00:00 2001 From: Gary Ching-Pang Lin <chingp...@gmail.com> Date: Thu, 16 Feb 2012 17:14:20 +0800 Subject: [PATCH 2/2] v4l2src: failure to query some optional controls is not a fatal error Don't post a (fatal) error message on the bus just because we failed to query some control. Fixes issue with built-in Suyin Corp webcam for HP notebook (usbid 064e:e28a) on OpenSuse 12.1, where querying red/blue balance fails. https://bugzilla.gnome.org/show_bug.cgi?id=670197 --- sys/v4l2/v4l2_calls.c | 11 ++++------- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git a/sys/v4l2/v4l2_calls.c b/sys/v4l2/v4l2_calls.c index c8af0a6..309bfb6 100644 --- a/sys/v4l2/v4l2_calls.c +++ b/sys/v4l2/v4l2_calls.c @@ -253,7 +253,7 @@ gst_v4l2_fill_lists (GstV4l2Object * v4l2object) control.id = n; if (v4l2_ioctl (v4l2object->video_fd, VIDIOC_QUERYCTRL, &control) < 0) { - if (errno == EINVAL || errno == ENOTTY) { + if (errno == EINVAL || errno == ENOTTY || errno == EIO) { if (n < V4L2_CID_PRIVATE_BASE) { GST_DEBUG_OBJECT (e, "skipping control %08x", n); /* continue so that we also check private controls */ @@ -263,12 +263,9 @@ gst_v4l2_fill_lists (GstV4l2Object * v4l2object) break; } } else { - GST_ELEMENT_ERROR (e, RESOURCE, SETTINGS, - (_("Failed getting controls attributes on device '%s'."), - v4l2object->videodev), - ("Failed querying control %d on device '%s'. (%d - %s)", - n, v4l2object->videodev, errno, strerror (errno))); - return FALSE; + GST_WARNING_OBJECT (e, "Failed querying control %d on device '%s'. " + "(%d - %s)", n, v4l2object->videodev, errno, strerror (errno)); + continue; } } if (control.flags & V4L2_CTRL_FLAG_DISABLED) { -- 1.7.7 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org