Hello community, here is the log from the commit of package gstreamer-0_10-plugins-good for openSUSE:12.1:Update:Test checked in at 2012-02-20 18:10:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.1:Update:Test/gstreamer-0_10-plugins-good (Old) and /work/SRC/openSUSE:12.1:Update:Test/.gstreamer-0_10-plugins-good.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gstreamer-0_10-plugins-good", Maintainer is "gnome-maintain...@suse.de" Changes: -------- New Changes file: --- /dev/null 2010-08-26 16:28:41.000000000 +0200 +++ /work/SRC/openSUSE:12.1:Update:Test/.gstreamer-0_10-plugins-good.new/gstreamer-0_10-plugins-good.changes 2012-02-20 18:10:44.000000000 +0100 @@ -0,0 +1,1307 @@ +------------------------------------------------------------------- +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) + +------------------------------------------------------------------- +Sun Sep 11 11:31:28 UTC 2011 - vu...@opensuse.org + +- Split esound plugin in a gstreamer-0_10-plugin-esd subpackage: we + do not want to have libesd0 installed by default just because of + this plugin. + +------------------------------------------------------------------- +Sat Aug 6 20:30:21 UTC 2011 - ch...@computersalat.de + +- fix deps + o gstreamer-0_10-plugins-base-devel >= 0.10.33 + +------------------------------------------------------------------- +Sat Jun 18 22:27:12 UTC 2011 - reddw...@opensuse.org + +- Update taglib BuildRequire to reflect the package new name. Fixes + build in Packman OBS. + +------------------------------------------------------------------- +Fri Jun 17 12:15:14 CEST 2011 - vu...@opensuse.org + +- Update to version 0.10.30: + + Work around GLib atomic ops API change + + Better handling of malformed buffers in RTP depayloders + (bgo#650470) + + Build fixes (including bgo#652144). + +------------------------------------------------------------------- +Sun Jun 12 00:06:33 CEST 2011 - vu...@opensuse.org + +- On 12.1 and later, stop building the gstreamer-0_10-plugin-hal + subpackage: + + we don't want hal anymore on 12.1 and later (see bnc#697018). + We use a build_hal define to control that behavior. + + remove hal-devel BuildRequires + + do not build a gstreamer-0_10-plugin-hal subpackage anymore + + add gstreamer-0_10-plugin-hal Obsoletes for smooth upgrades + +------------------------------------------------------------------- +Wed May 11 14:26:10 CEST 2011 - dims...@opensuse.org + +- Update to version 0.10.29: + + audioparser: new amrparse, aacparse, ac3parse, flacparse, + mpegaudioparse, dcaparse elements + + audiowsincband: + - Add new windowing functions: gaussian, cos and hann + - Fix range of kernel elements (lim -> lim-1) + + audiowsinclimit: + - Add new windows to high/low-pass filters: gaussian, cosine, + hann + - Fix range of kernel elements (lim -> lim-1) in high/low-pass + filters + + avidemux: + - also add the frame-type for the stream index. + - flvdemux: mark delta-units in the index + - stream->current_total is accumulated byte size and not time + + avimux: + - add stream-format field to h264 pad template caps + - rework _request_new_pad to handle explict req-pad-names + - use running time for synchronization + + cairooverlay: Add generic Cairo overlay video element. + + debugutils: remove bitrotten negotiation element + + deinterlace: add support for NV12 and NV21 formats; fix greedyl + method + + dvdemux: first try if upstream handles TIME seeks before + handling them here and other event handling fixes + + flacdec: fix issues with large metadata blocks when streaming + unframed flac + + flacenc: + - Add support for writing METADATA_BLOCK_PICTURE blocks for + GST_TAG_IMAGE and GST_TAG_PREVIEW_IMAGE + - Don't store image tags inside the vorbiscomments and the flac + metadata + + flvdemux: + - add width, height and framerate to caps when present on + onMetaData + - Do not build an index if upstream is not seekable + - fix deadlock on setting index on flvdemux + + flvmux: + - don't overwrite metadata tag with duration in streaming mode + - don't set duration for live stream + - use running time for synchronization + + flv: specify stream-format for h264 in the pad template caps + + icydemux: fix tag list handling issues that might have caused + crashes + + j2kpay: skip EPH packets + + jitterbuffer: + - also estimate eos if very near eos + - avoid trying to buffer more than is available + - handle position query + + matroskademux: + - better calculation of output framerate + - properly resume cluster scanning + - pull mode should always report seekable + - set stream-format=byte-stream on h264 caps if there's no + codec data + - store cluster positions provided by SeekHead + + matroskamux: + - add support for A-Law and ยต-Law + - avoid building index when streamable + - use running time for stream synchronization + - add stream-format field to h264 pad template caps + + matroska: Use ARTIST Matroska tag instead of AUTHOR for + GST_TAG_ARTIST + + matroskaparse: new element + + monoscope: stability (off-by-one) and memory leak fixes + + pngdec: handle 16-bit-per-channel images + + pulsesink: + - also uncork during EOS waiting (and after EOS is rendered) + - fix deadlock if connecting to PA fails + - release pa_shared_resource_mutex before + pa_threaded_mainloop_wait + + qtdemux: + - Adds more h264 fields to its caps + - Add support for 2Vuy and r210 + - don't error out when there's a problem parsing non-vital + headers + - avoid skipping exposing a stream following a removed stream + - Check for invalid (empty) classification info entity strings + - extract MusicBrainz tags + - mind rounding issues when converting from global time to mov time + - propagate error during expose_streams + - support some more mpeg-4 fourcc variants + - take configured start time into account + + isomp4: move mp4mux/3gppmux/qtmux from -bad to -good, rename + qtdemux plugin to isomp4 + + rtpbin: Don't try to request the same request pad twice + + rtpbin: fix setting the SDES property + + rtpbin: Get and use the NTP time when receiving RTCP + + rtpmanager: ignore a BYE if it is sent with our internal SSRC + + rtpptdemux: Tag upstream custom events with payload type + + rtpsession: + - add action signal to request early RTCP + - add "rtcp-min-interval" property for minimum interval between + Regular RTCP messages + - Don't relay more than one PLI request per RTT + - Emit "on-ssrc-validated" when validating by RTCP + - Emit signal on incoming RTCP feedback packet + - Emit signal when sending a compound RTCP packet + - Implement sending PLI packets in response to GstForceKeyUnit + - Number of active sources should be updated whenever the + status of the source changes to active + - Send GstForceKeyUnit event in response to received RTCP PLI + + rtpsource: Retain RTCP Feedback packets for a specified amount + of time + + rtpssrcdemux: + - Tag upstream custom events with SSRC + - Unknown SSRC is not fatal + + rtpspeexpay: Do not transmit samples with GAP flag + + rtptheoradepay: Request new keyframe on lost packets + + rtpvrawpay: add support for interlaced video + + rtspsrc: + - distribute new base_time to manager children following flush + seek + - handle * control correctly + - improve recovery from failed seek + + spectrum: misc, optimisations, add multi-channel support + + speexdec: + - Always process the number of frames per packet as specified + in the header + - get and use streamheader from the caps if possible + - Use speex intern silence detection + + theorapay: handle 0-sized packets (which are repeat frames) + + udpsink: warn when packet is too large + + v4l2: + - Add PJPG mapping + - fix interlaced set_format configuration + - new v4l2radio element to control analog radio devices + + videobalance: fix handling of YUV images with 'odd' widths + + videoflip: + - add support for YUY2, UVYV and YVYU + - fix invalid memory access for odd resolutions and Y422 + + videomixer2: Add transparent background option for alpha + channel formats + + videomixer: + - Add transparent background option for alpha channel formats + - Fix argb/rgba overlay orc code + + wavparse: tune output max buffer size to material + + Bugs fixed: bgo#564122, bgo#432612, bgo#593482, bgo#595520, + bgo#622553, bgo#636699, bgo#639994, bgo#640118, bgo#640163, + bgo#640249, bgo#640483, bgo#640542, bgo#641330, bgo#641332, + bgo#641400, bgo#641827, bgo#642205, bgo#642337, bgo#642412, + bgo#642691, bgo#642879, bgo#642961, bgo#642963, bgo#643087, + bgo#643981, bgo#644288, bgo#644477, bgo#644510, bgo#644669, + bgo#644773, bgo#644849, bgo#644875, bgo#645858, bgo#645961, + bgo#646397, bgo#646474, bgo#646567, bgo#646800, bgo#646954, + bgo#646964, bgo#646965, bgo#646966, bgo#646967, bgo#646999, + bgo#647263, bgo#647510, bgo#647511, bgo#647659, bgo#647833, + bgo#647848, bgo#647919, bgo#648004, bgo#648160, bgo#648589, ++++ 1110 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:12.1:Update:Test/.gstreamer-0_10-plugins-good.new/gstreamer-0_10-plugins-good.changes New: ---- _link baselibs.conf gst-non-fatal-query-webcam-attr.patch gst-plugins-good-0.10.30.tar.bz2 gst-pulsesink-bufsize.diff gstreamer-0_10-plugins-good.changes gstreamer-0_10-plugins-good.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gstreamer-0_10-plugins-good.spec ++++++ # # spec file for package gstreamer-0_10-plugins-good # # 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define build_hal 0%{?suse_version} <= 1140 Name: gstreamer-0_10-plugins-good # aasink is just a toy. Once in future, we may want to disable aalib # support completely: %define ENABLE_AALIB 1 %define _name gst-plugins-good Version: 0.10.30 Release: 4 %define gst_branch 0.10 %if 0%{?ENABLE_AALIB} BuildRequires: aalib-devel %endif # Jack moved here from plugins bad in version 0.10.27 BuildRequires: libjack-devel BuildRequires: cairo-devel BuildRequires: check-devel BuildRequires: esound-devel BuildRequires: flac-devel BuildRequires: gcc-c++ BuildRequires: gconf2-devel BuildRequires: gstreamer-0_10-plugins-base-devel >= 0.10.33 BuildRequires: gtk-doc BuildRequires: gtk2-devel %if %{build_hal} BuildRequires: hal-devel %endif BuildRequires: ladspa-devel BuildRequires: libavc1394-devel BuildRequires: libcaca-devel BuildRequires: libdv-devel BuildRequires: libiec61883-devel BuildRequires: libjpeg-devel BuildRequires: libpulse-devel BuildRequires: libshout-devel BuildRequires: libtheora-devel BuildRequires: libv4l-devel BuildRequires: libvorbis-devel BuildRequires: ftgl-devel BuildRequires: orc BuildRequires: python-devel BuildRequires: python-xml BuildRequires: sgml-skel BuildRequires: libsoup-devel BuildRequires: speex-devel BuildRequires: libtag-devel BuildRequires: translation-update-upstream BuildRequires: wavpack-devel # TODO find where process.h comes from, not kernel-devel and not wxWidgets so far. %ifarch %ix86 ppc x86_64 BuildRequires: valgrind-devel %endif License: LGPLv2.1+ Group: Productivity/Multimedia/Other 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 Enhances: gstreamer-0_10 # Name up to 10.3: Provides: gstreamer010-plugins-good = %{version} Obsoletes: gstreamer010-plugins-good < %{version} # Generic name, never used in SuSE: I wish it had been used I would have used it then I wouldn't have to keep copy pasting and actually type it. Provides: gst-plugins-good = %{version} # Pulseaudio plugin was integrated Provides: gstreamer-0_10-pulse = %{version} Obsoletes: gstreamer-0_10-pulse < %{version} %define gstreamer010_plugins_good_req %(zgrep --text "^GST.*_REQ" %{S:0} | sort -u | sed 's/GST_REQ=/gstreamer-0_10 >= /;s/GSTPB_REQ=/gstreamer-0_10-plugins-base >= /' | tr '\\n' ' ') Requires: %gstreamer010_plugins_good_req Recommends: %{name}-lang = %{version} # qtdemux, videocrop, wavpack moved from bad (after OpenSUSE 10.2): See TODO below the header. Conflicts: gstreamer010-plugins-bad <= 0.10.4 # souphttpsrc: moved from bad (before OpenSUSE 11.1 & SLE11): Conflicts: gstreamer-0_10-plugins-bad <= 0.10.8 %if ! %{build_hal} # Obsolete hal subpackage which we had until 11.4. Obsoletes: gstreamer-0_10-plugin-hal <= %{version} %endif %gconf_schemas_prereq %description GStreamer is a streaming media framework based on graphs of filters that operate on media data. Applications using this library can do anything media-related, from real-time sound processing to playing videos. Its plug-in-based architecture means that new data types or processing capabilities can be added simply by installing new plug-ins. %package -n gstreamer-0_10-plugin-esd License: LGPLv2.1+ Summary: GStreamer Streaming-Media Framework Plug-Ins -- EsounD plugin Group: Productivity/Multimedia/Other # We might need some plugins from the same package Requires: %{name} Supplements: packageand(%{name}:libesd0) %description -n gstreamer-0_10-plugin-esd GStreamer is a streaming media framework based on graphs of filters that operate on media data. Applications using this library can do anything media-related, from real-time sound processing to playing videos. Its plug-in-based architecture means that new data types or processing capabilities can be added simply by installing new plug-ins. %if %{build_hal} %package -n gstreamer-0_10-plugin-hal License: LGPLv2.1+ Summary: GStreamer Streaming-Media Framework Plug-Ins -- HAL plugin Group: Productivity/Multimedia/Other # We might need some plugins from the same package Requires: %{name} Supplements: packageand(%{name}:hal) %description -n gstreamer-0_10-plugin-hal GStreamer is a streaming media framework based on graphs of filters that operate on media data. Applications using this library can do anything media-related, from real-time sound processing to playing videos. Its plug-in-based architecture means that new data types or processing capabilities can be added simply by installing new plug-ins. %endif %package doc License: LGPLv2.1+ Summary: Documentation for gstreamer-0_10-plugins-good Group: Development/Libraries/C and C++ Requires: %{name} = %{version} # Name up to 10.3: Provides: gstreamer010-plugins-good-doc = %{version} Obsoletes: gstreamer010-plugins-good-doc < %{version} %description doc This package contains documentation for gstreamer-0_10-plugins-good. %package extra License: LGPLv2.1+ Summary: Complementary plugins for gstreamer-0_10-plugins-good Group: Productivity/Multimedia/Other Requires: %{name} = %{version} Enhances: gstreamer-0_10-plugins-good # Name up to 10.3: Provides: gstreamer010-plugins-good-extra = %{version} Obsoletes: gstreamer010-plugins-good-extra < %{version} # For update from <= 10.2 (v4l2): Conflicts: gstreamer010-plugins-bad <= 0.10.3 # For update from < 11.1 (aasink): Conflicts: gstreamer010-plugins-good < 0.10.10 %description extra This package provides complementary plugins for gstreamer-0_10-plugins-good. %lang_package %prep chmod 0644 %{S:0} %setup -q -n %{_name}-%{version} %patch1 -p1 %patch2 -p1 translation-update-upstream po gst-plugins-good-0.10 %build # FIXME: # warning: failed to load external entity "xml/element-v4l2src-details.xml" # warning: failed to load external entity "xml/plugin-video4linux2.xml" %configure\ %if ! 0%{?ENABLE_AALIB} --disable-aalib\ %endif --disable-schemas-install\ --enable-gtk-doc\ --enable-experimental make %{?jobs:-j%jobs} %install %makeinstall %find_lang %{_name}-%{gst_branch} %find_gconf_schemas rm $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{gst_branch}/*.*a %clean rm -rf $RPM_BUILD_ROOT %pre -f %{name}.schemas_pre %posttrans -f %{name}.schemas_posttrans %preun -f %{name}.schemas_preun %files -f %{name}.schemas_list %defattr(-, root, root) %doc AUTHORS COPYING NEWS README RELEASE REQUIREMENTS %{_libdir}/gstreamer-%{gst_branch}/libgstannodex.so %{_libdir}/gstreamer-%{gst_branch}/libgstalaw.so %{_libdir}/gstreamer-%{gst_branch}/libgstalpha.so %{_libdir}/gstreamer-%{gst_branch}/libgstalphacolor.so %{_libdir}/gstreamer-%{gst_branch}/libgstapetag.so %{_libdir}/gstreamer-%{gst_branch}/libgstaudiofx.so %{_libdir}/gstreamer-%{gst_branch}/libgstaudioparsers.so %{_libdir}/gstreamer-%{gst_branch}/libgstauparse.so %{_libdir}/gstreamer-%{gst_branch}/libgstautodetect.so %{_libdir}/gstreamer-%{gst_branch}/libgstavi.so %{_libdir}/gstreamer-%{gst_branch}/libgstcairo.so %{_libdir}/gstreamer-%{gst_branch}/libgstcutter.so %{_libdir}/gstreamer-%{gst_branch}/libgstdebug.so %{_libdir}/gstreamer-%{gst_branch}/libgstdeinterlace.so %{_libdir}/gstreamer-%{gst_branch}/libgstefence.so %{_libdir}/gstreamer-%{gst_branch}/libgsteffectv.so %{_libdir}/gstreamer-%{gst_branch}/libgstequalizer.so %{_datadir}/gstreamer-%{gst_branch}/presets/GstIirEqualizer10Bands.prs %{_datadir}/gstreamer-%{gst_branch}/presets/GstIirEqualizer3Bands.prs %{_libdir}/gstreamer-%{gst_branch}/libgstflac.so %{_libdir}/gstreamer-%{gst_branch}/libgstflv.so %{_libdir}/gstreamer-%{gst_branch}/libgstflxdec.so %{_libdir}/gstreamer-%{gst_branch}/libgstgconfelements.so %{_libdir}/gstreamer-%{gst_branch}/libgstgdkpixbuf.so %{_libdir}/gstreamer-%{gst_branch}/libgstgoom.so %{_libdir}/gstreamer-%{gst_branch}/libgstgoom2k1.so %{_libdir}/gstreamer-%{gst_branch}/libgsticydemux.so %{_libdir}/gstreamer-%{gst_branch}/libgstid3demux.so %{_libdir}/gstreamer-%{gst_branch}/libgstimagefreeze.so %{_libdir}/gstreamer-%{gst_branch}/libgstinterleave.so %{_libdir}/gstreamer-%{gst_branch}/libgstisomp4.so %{_libdir}/gstreamer-%{gst_branch}/libgstjack.so %{_libdir}/gstreamer-%{gst_branch}/libgstjpeg.so %{_libdir}/gstreamer-%{gst_branch}/libgstlevel.so %{_libdir}/gstreamer-%{gst_branch}/libgstmatroska.so %{_libdir}/gstreamer-%{gst_branch}/libgstmonoscope.so %{_libdir}/gstreamer-%{gst_branch}/libgstmulaw.so %{_libdir}/gstreamer-%{gst_branch}/libgstmultifile.so %{_libdir}/gstreamer-%{gst_branch}/libgstmultipart.so %{_libdir}/gstreamer-%{gst_branch}/libgstnavigationtest.so %{_libdir}/gstreamer-%{gst_branch}/libgstoss4audio.so %{_libdir}/gstreamer-%{gst_branch}/libgstossaudio.so %{_libdir}/gstreamer-%{gst_branch}/libgstpng.so %{_libdir}/gstreamer-%{gst_branch}/libgstpulse.so %{_libdir}/gstreamer-%{gst_branch}/libgstreplaygain.so %{_libdir}/gstreamer-%{gst_branch}/libgstrtp.so %{_libdir}/gstreamer-%{gst_branch}/libgstrtpmanager.so %{_libdir}/gstreamer-%{gst_branch}/libgstrtsp.so %{_libdir}/gstreamer-%{gst_branch}/libgstshapewipe.so %{_libdir}/gstreamer-%{gst_branch}/libgstsmpte.so %{_libdir}/gstreamer-%{gst_branch}/libgstsouphttpsrc.so %{_libdir}/gstreamer-%{gst_branch}/libgstspectrum.so %{_libdir}/gstreamer-%{gst_branch}/libgstspeex.so %{_libdir}/gstreamer-%{gst_branch}/libgsttaglib.so %{_libdir}/gstreamer-%{gst_branch}/libgstudp.so %{_libdir}/gstreamer-%{gst_branch}/libgstvideo4linux2.so %{_libdir}/gstreamer-%{gst_branch}/libgstvideobox.so %{_libdir}/gstreamer-%{gst_branch}/libgstvideocrop.so %{_libdir}/gstreamer-%{gst_branch}/libgstvideofilter.so %{_libdir}/gstreamer-%{gst_branch}/libgstvideomixer.so %{_libdir}/gstreamer-%{gst_branch}/libgstwavenc.so %{_libdir}/gstreamer-%{gst_branch}/libgstwavpack.so %{_libdir}/gstreamer-%{gst_branch}/libgstwavparse.so %{_libdir}/gstreamer-%{gst_branch}/libgstximagesrc.so %{_libdir}/gstreamer-%{gst_branch}/libgsty4menc.so %files -n gstreamer-0_10-plugin-esd %defattr(-, root, root) %{_libdir}/gstreamer-%{gst_branch}/libgstesd.so %if %{build_hal} %files -n gstreamer-0_10-plugin-hal %defattr(-, root, root) %{_libdir}/gstreamer-%{gst_branch}/libgsthalelements.so %endif %files lang -f %{_name}-%{gst_branch}.lang %files doc %defattr(-, root, root) %{_datadir}/gtk-doc/html/gst-plugins-good-plugins-%{gst_branch} %files extra %defattr(-, root, root) %{_libdir}/gstreamer-%{gst_branch}/libgst1394.so %if 0%{?ENABLE_AALIB} %{_libdir}/gstreamer-%{gst_branch}/libgstaasink.so %endif %{_libdir}/gstreamer-%{gst_branch}/libgstcacasink.so %{_libdir}/gstreamer-%{gst_branch}/libgstdv.so %{_libdir}/gstreamer-%{gst_branch}/libgstshout2.so %changelog ++++++ _link ++++++ <link project="openSUSE:12.1" package="gstreamer-0_10-plugins-good" baserev="e6f69828594434ec9b3244e81c8c7f78"> <patches> <branch/> </patches> </link> ++++++ baselibs.conf ++++++ gstreamer-0_10-plugins-good gstreamer-0_10-plugins-good-extra gstreamer-0_10-plugin-esd gstreamer-0_10-plugin-hal ++++++ 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 ++++++ gst-pulsesink-bufsize.diff ++++++ >From 1e2c1467ae042a3c6bb1a6bc0c07aeff13ec5edb Mon Sep 17 00:00:00 2001 From: David Henningsson <david.hennings...@canonical.com> Date: Mon, 31 Jan 2011 04:58:36 +0000 Subject: Pulsesink: Allow chunks up to bufsize instead of segsize By allowing larger chunks to be sent, PulseAudio will have a lower CPU usage. This is especially important on low-end machines, where PulseAudio can crash if packets are coming in at a higher rate than PulseAudio can process them. Signed-off-by: David Henningsson <david.hennings...@canonical.com> --- diff --git a/ext/pulse/pulsesink.c b/ext/pulse/pulsesink.c index 9bebfec..295d93f 100644 --- a/ext/pulse/pulsesink.c +++ b/ext/pulse/pulsesink.c @@ -1339,11 +1339,11 @@ gst_pulseringbuffer_commit (GstRingBuffer * buf, guint64 * sample, towrite = out_samples * bps; - /* Only ever write segsize bytes at once. This will - * also limit the PA shm buffer to segsize + /* Only ever write bufsize bytes at once. This will + * also limit the PA shm buffer to bufsize */ - if (towrite > buf->spec.segsize) - towrite = buf->spec.segsize; + if (towrite > bufsize) + towrite = bufsize; if ((pbuf->m_writable < towrite) || (offset != pbuf->m_lastoffset)) { /* if no room left or discontinuity in offset, @@ -1392,9 +1392,9 @@ gst_pulseringbuffer_commit (GstRingBuffer * buf, guint64 * sample, } /* make sure we only buffer up latency-time samples */ - if (pbuf->m_writable > buf->spec.segsize) { + if (pbuf->m_writable > bufsize) { /* limit buffering to latency-time value */ - pbuf->m_writable = buf->spec.segsize; + pbuf->m_writable = bufsize; GST_LOG_OBJECT (psink, "Limiting buffering to %" G_GSIZE_FORMAT, pbuf->m_writable); @@ -1413,9 +1413,9 @@ gst_pulseringbuffer_commit (GstRingBuffer * buf, guint64 * sample, pbuf->m_writable); /* Just to make sure that we didn't get more than requested */ - if (pbuf->m_writable > buf->spec.segsize) { + if (pbuf->m_writable > bufsize) { /* limit buffering to latency-time value */ - pbuf->m_writable = buf->spec.segsize; + pbuf->m_writable = bufsize; } } -- cgit v0.8.3-6-g21f6 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org