Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-gst for openSUSE:Factory checked in at 2022-02-09 20:38:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-gst (Old) and /work/SRC/openSUSE:Factory/.python-gst.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-gst" Wed Feb 9 20:38:56 2022 rev:37 rq:952078 version:1.18.6 Changes: -------- --- /work/SRC/openSUSE:Factory/python-gst/python-gst.changes 2021-09-21 21:13:26.626659067 +0200 +++ /work/SRC/openSUSE:Factory/.python-gst.new.1898/python-gst.changes 2022-02-09 20:39:46.618458770 +0100 @@ -1,0 +2,6 @@ +Fri Feb 4 19:54:00 UTC 2022 - Bj??rn Lie <[email protected]> + +- Update to version 1.18.6: + + Avoid treating float as int (fix for Python 3.10). + +------------------------------------------------------------------- Old: ---- gst-python-1.18.5.tar.xz New: ---- gst-python-1.18.6.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-gst.spec ++++++ --- /var/tmp/diff_new_pack.YkMroT/_old 2022-02-09 20:39:47.186460129 +0100 +++ /var/tmp/diff_new_pack.YkMroT/_new 2022-02-09 20:39:47.190460138 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-gst # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %define _name gst-python Name: python-gst -Version: 1.18.5 +Version: 1.18.6 Release: 0 Summary: Python Bindings for GStreamer License: LGPL-2.1-or-later ++++++ gst-python-1.18.5.tar.xz -> gst-python-1.18.6.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-python-1.18.5/.gitlab-ci.yml new/gst-python-1.18.6/.gitlab-ci.yml --- old/gst-python-1.18.5/.gitlab-ci.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/gst-python-1.18.6/.gitlab-ci.yml 2022-02-02 16:08:36.000000000 +0100 @@ -0,0 +1 @@ +include: "https://gitlab.freedesktop.org/gstreamer/gst-ci/raw/1.18/gitlab/ci_template.yml" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-python-1.18.5/ChangeLog new/gst-python-1.18.6/ChangeLog --- old/gst-python-1.18.5/ChangeLog 2021-09-08 21:05:13.078709000 +0200 +++ new/gst-python-1.18.6/ChangeLog 2022-02-02 16:08:36.000000000 +0100 @@ -1,3 +1,29 @@ +=== release 1.18.6 === + +2022-02-02 15:08:36 +0000 Tim-Philipp M??ller <[email protected]> + + * ChangeLog: + * NEWS: + * RELEASE: + * gst-python.doap: + * meson.build: + Release 1.18.6 + +2021-11-16 23:36:10 -0300 Thibault Saunier <[email protected]> + + * gi/overrides/gstmodule.c: + python: Avoid treating float as int + Since python 3.10 implicit conversion to integers using `__int__` as + been completely removed (was deprecated behavior in 3.9) so we need + to cleanly handle it now. + See https://gitlab.gnome.org/GNOME/pitivi/-/issues/2589 + Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-python/-/merge_requests/46> + +2021-09-09 00:13:08 +0100 Tim-Philipp M??ller <[email protected]> + + * meson.build: + Back to development + === release 1.18.5 === 2021-09-08 20:05:12 +0100 Tim-Philipp M??ller <[email protected]> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-python-1.18.5/NEWS new/gst-python-1.18.6/NEWS --- old/gst-python-1.18.5/NEWS 2021-09-08 21:05:13.078709000 +0200 +++ new/gst-python-1.18.6/NEWS 2022-02-02 16:08:36.000000000 +0100 @@ -2,13 +2,13 @@ GStreamer 1.18.0 was originally released on 8 September 2020. -The latest bug-fix release in the 1.18 series is 1.18.5 and was released -on 8 September 2021. +The latest bug-fix release in the 1.18 series is 1.18.6 and was released +on 2 February 2022. See https://gstreamer.freedesktop.org/releases/1.18/ for the latest version of this document. -Last updated: Wednesday 8 September 2021, 11:00 UTC (log) +Last updated: Wednesday 2 February 2022, 11:30 UTC (log) Introduction @@ -2103,9 +2103,8 @@ Known Issues - GStreamer 1.18 versions <= 1.18.4 would fail to build on Linux with - Meson 0.58 due to an issue with the include directories. Either - apply the patch or build with an older Meson version (<= 0.57) until - there is a GStreamer 1.18.5 release that includes the fix. + Meson 0.58 due to an issue with the include directories. + GStreamer >= 1.18.5 includes a fix for this. Contributors @@ -3183,16 +3182,180 @@ - List of Merge Requests applied in 1.18.5 - List of Issues fixed in 1.18.5 +1.18.6 + +The sixth 1.18 bug-fix release (1.18.6) was released on 2 February 2022. + +This release only contains bugfixes and security fixes and it should be +safe to update from 1.18.x. + +Highlighted bugfixes in 1.18.6 + +- tagdemux: Fix crash when presented with malformed files (security + fix) +- video-converter: Fix broken gamma remap with high bitdepth YUV + output +- shout2send: Fix issues with libshout >= 2.4.2 +- mxfdemux: fix regression with VANC tracks that only contains packet + types we don???t handle +- Better plugin loading error reporting on Windows +- Fixes for deprecations in Python 3.10 +- build fixes, memory leak fixes, reliability fixes +- security fixes + +gstreamer + +- gstplugin: Fix for UWP build +- gstplugin: Better warnings on plugin load failure on Windows +- gst-ptp-helper: Do not disable multicast loopback +- concat: fix qos event handling +- pluginfeature: Fix object leak +- baseparse: fix invalid avg_bitrate after reset +- multiqueue: Fix query unref race on flush +- gst: Initialize optional event/message fields when parsing +- bitwriter: Fix the trailing bits lost when getting its data. +- multiqueue: never consider a queue that is not waiting +- input-selector: Use proper segments when cleaning cached buffers + +gst-plugins-base + +- tagdemux: Fix crash when presented with malformed files (security + fix) +- videoencoder: make sure the buffer is writable before modifying + metadata +- video-converter: Fix for broken gamma remap with high bitdepth YUV + output +- sdpmessage: fix mapping single char fmtp params +- oggdemux: fix a race in push mode when performing the duration seek +- uridecodebin: Fix critical warnings +- audio-converter: Fix resampling when there???s nothing to output +- tcp: fix build on Solaris +- uridecodebin3: Nullify current item after all play items are freed. +- audio-resampler: Fix segfault when we can???t output any frames +- urisourcebin: Handle sources with dynamic pads and pads already + present +- playbin2/3: autoplug/caps: don???t expand caps to ANY +- uridecodebin3/urisourcebin: Reusability fixes +- rtspconnection: Only reset timeout when socket is unused +- gstvideoaggregator.c: fix build with gcc 4.8 + +gst-plugins-good + +- rtspsrc: Fix critical while serializing timeout element message +- multifilesrc: fix caps leak +- shout2: Add compatibility for libshout >= 2.4.2 shout_open return + values +- v4l2: Update fmt if padded height is greater than fmt height +- v4l2bufferpool: set video alignment of video meta +- qtmux: fix deadlock in gst_qt_mux_prepare_moov_recovery +- matroska: Add support for muxing/demuxing ffv1 +- qtdemux: Try to build AAC codec-data whenever it???s possible + +gst-plugins-bad + +- interlace: Fix a double-unref on shutdown +- webrtcbin: Chain up to parent constructed method +- webrtc: fix log error message in function + gst_webrtc_bin_set_local_description +- mxfdemux: don???t error out if VANC track only contains packets we + don???t handle +- av1parser: Fix data type of film grain param +- assrender: Support RFC8081 mime types +- pitch: Specify layout as required for negotiation +- magicleap: update lumin_rt libraries names to the latest official + version +- codecs: h265decoder: Fix per-slice leak +- mpeg4videoparse: fix criticals trying to insert configs that don???t + exist yet +- webrtcbin: Always set SINK/SRC flags +- mpegtspacketizer: memcmp potentially seen_before data +- zxing: update to support version 1.1.1 + +gst-plugins-ugly + +- No changes + +gst-libav + +- avcodecmap: Add support for GBRA_10LE/BE + +gst-rtsp-server + +- rtsp-stream: fix get_rates raciness +- rtsp-media: Only unprepare a media if it was not already unpreparing + anyway +- rtsp-media: Unprepare suspended medias too +- rtsp-client: make sure sessmedia will not get freed while used +- rtsp-media: Also mark receive-only (RECORD) medias as prepared when + unsuspending +- rtsp-session: Don???t unref medias twice if it is removed inside??? +- examples: Fix leak in appsrc2 example + +gstreamer-vaapi + +- libs: video-format: Check if formats map is not NULL +- vaapidecode: Autogenerate caps template +- vaapipostproc: copy over metadata also when using system allocated + buffer + +gst-python + +- Avoid treating float as int (fix for Python 3.10) + +gst-editing-services + +- meson: Remove duplicate definition of ???examples??? option + +gst-devtools + +- No changes + +gst-integration-testsuites + +- No changes + +gst-build + +- env: Fix deprecations from python 3.10 +- Various fixes for macOS +- update FFmpeg wrap to 4.3.3 + +Cerbero build tool and packaging changes in 1.18.6 + +- Some fixes for Fedora 34 +- cerbero: Backport fix for removed loop param of PriorityQueue() +- cerbero: Fix support for Fedora 35 +- Add support for Visual Studio 2022 +- openssl.recipe: Fix crash on iOS TestFlight +- UnixBootstrapper: remove sudo as root user +- bzip2.recipe: bump version to 1.0.8 +- openssl.recipe: upgrade to version 1.1.1l + +Contributors to 1.18.6 + +Antonio Ospite, C??lestin Marot, Dave Pich??, Erlend Eriksen, Fabrice +Fontaine, Guillaume Desmottes, Haihua Hu, He Junyan, Jakub Adam, Jan +Alexander Steffens (heftig), Jan Schmidt, Jeremy Cline, Jordan Petridis, +Mathieu Duponchelle, Matthew Waters, Mengkejiergeli Ba, Michael Gruner, +Nirbheek Chauhan, Ognyan Tonchev, Pascal Hache, Rafa?? Dzi??giel, +Sebastian Dr??ge, Seungha Yang, St??phane Cerveau, Teng En Ung,Thibault +Saunier, Thomas Klausner, Tim-Philipp M??ller, Tobias Reineke, Tobias +Ronge, Tomasz Andrzejak, Trung Do, V??ctor Manuel J??quez Leal, Vivia +Nikolaidou, + +??? and many others who have contributed bug reports, translations, sent +suggestions or helped testing. Thank you all! + +List of merge requests and issues fixed in 1.18.6 + +- List of Merge Requests applied in 1.18.6 +- List of Issues fixed in 1.18.6 + Schedule for 1.20 -Our next major feature release will be 1.20, and 1.19 will be the -unstable development version leading up to the stable 1.20 release. The -development of 1.19/1.20 will happen in the git master branch. - -The plan for the 1.20 development cycle is yet to be confirmed, but it -is now expected that feature freeze will take place some time in -September/October 2021, with the first 1.20 stable release hopefully -towards the end of October 2021. +Our next major feature release will be 1.20, and will be released in +early February 2022. You can track its progress on the 1.20 Release +Notes page. 1.20 will be backwards-compatible to the stable 1.18, 1.16, 1.14, 1.12, 1.10, 1.8, 1.6, 1.4, 1.2 and 1.0 release series. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-python-1.18.5/RELEASE new/gst-python-1.18.6/RELEASE --- old/gst-python-1.18.5/RELEASE 2021-09-08 21:05:13.078709000 +0200 +++ new/gst-python-1.18.6/RELEASE 2022-02-02 16:08:36.000000000 +0100 @@ -1,4 +1,4 @@ -This is GStreamer gst-python 1.18.5. +This is GStreamer gst-python 1.18.6. The GStreamer team is thrilled to announce a new major feature release of your favourite cross-platform multimedia framework! @@ -82,7 +82,7 @@ For help and support, please subscribe to and send questions to the gstreamer-devel mailing list (see below for details). -There is also a #gstreamer IRC channel on the Freenode IRC network. +There is also a #gstreamer IRC channel on the OFTC IRC network. ==== Developers ==== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-python-1.18.5/gi/overrides/gstmodule.c new/gst-python-1.18.6/gi/overrides/gstmodule.c --- old/gst-python-1.18.5/gi/overrides/gstmodule.c 2021-09-08 21:05:13.078709000 +0200 +++ new/gst-python-1.18.6/gi/overrides/gstmodule.c 2022-02-02 16:08:36.000000000 +0100 @@ -104,18 +104,58 @@ static int gi_gst_fraction_to_value (GValue * value, PyObject * object) { - PyObject *numerator, *denominator; + glong numerator, denominator; + PyObject *numerator_obj, *denominator_obj, *is_integer; - numerator = PyObject_GetAttrString (object, "num"); - if (numerator == NULL) + numerator_obj = PyObject_GetAttrString (object, "num"); + if (numerator_obj == NULL) goto fail; - denominator = PyObject_GetAttrString (object, "denom"); - if (denominator == NULL) + is_integer = PyObject_CallMethod (numerator_obj, "is_integer", NULL); + if (is_integer != Py_True) { + PyErr_Format (PyExc_TypeError, + "numerator %f is not an integer.", PyFloat_AsDouble (numerator_obj)); + Py_DECREF (is_integer); goto fail; + } + Py_DECREF (is_integer); - gst_value_set_fraction (value, - PyLong_AsLong (numerator), PyLong_AsLong (denominator)); + numerator = PyFloat_AsDouble (numerator_obj); + if (numerator < -G_MAXINT || numerator > G_MAXINT) { + PyErr_Format (PyExc_ValueError, + "numerator %" G_GINT64_FORMAT " is out of bound. [-%d - %d]", + numerator, G_MAXINT, G_MAXINT); + goto fail; + } + + denominator_obj = PyObject_GetAttrString (object, "denom"); + if (denominator_obj == NULL) + goto fail; + + is_integer = PyObject_CallMethod (denominator_obj, "is_integer", NULL); + if (is_integer != Py_True) { + PyErr_Format (PyExc_TypeError, + "denominator %f is not an integer.", + PyFloat_AsDouble (denominator_obj)); + Py_DECREF (is_integer); + goto fail; + } + Py_DECREF (is_integer); + + denominator = PyFloat_AsDouble (denominator_obj); + if (denominator == 0) { + PyErr_SetString (PyExc_ValueError, "denominator is 0."); + goto fail; + } + + if (denominator < -G_MAXINT || denominator > G_MAXINT) { + PyErr_Format (PyExc_ValueError, + "denominator %" G_GINT64_FORMAT " is out of bound. [-%d - %d]", + denominator, G_MAXINT, G_MAXINT); + goto fail; + } + + gst_value_set_fraction (value, numerator, denominator); return 0; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-python-1.18.5/gst-python.doap new/gst-python-1.18.6/gst-python.doap --- old/gst-python-1.18.5/gst-python.doap 2021-09-08 21:05:13.078709000 +0200 +++ new/gst-python-1.18.6/gst-python.doap 2022-02-02 16:08:36.000000000 +0100 @@ -32,6 +32,16 @@ <release> <Version> + <revision>1.18.6</revision> + <branch>1.18</branch> + <name></name> + <created>2022-02-02</created> + <file-release rdf:resource="https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.18.6.tar.xz" /> + </Version> + </release> + + <release> + <Version> <revision>1.18.5</revision> <branch>1.18</branch> <name></name> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-python-1.18.5/meson.build new/gst-python-1.18.6/meson.build --- old/gst-python-1.18.5/meson.build 2021-09-08 21:05:13.078709000 +0200 +++ new/gst-python-1.18.6/meson.build 2022-02-02 16:08:36.000000000 +0100 @@ -1,5 +1,5 @@ project('gst-python', 'c', 'cpp', - version : '1.18.5', + version : '1.18.6', meson_version : '>= 0.46.0', default_options : [ 'warning_level=1', 'c_std=gnu99',
