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 2023-07-01 23:17:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-gst (Old) and /work/SRC/openSUSE:Factory/.python-gst.new.13546 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-gst" Sat Jul 1 23:17:29 2023 rev:48 rq:1096151 version:1.22.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-gst/python-gst.changes 2023-05-28 19:23:02.549033472 +0200 +++ /work/SRC/openSUSE:Factory/.python-gst.new.13546/python-gst.changes 2023-07-01 23:17:36.326099959 +0200 @@ -1,0 +2,7 @@ +Mon Jun 26 14:45:26 UTC 2023 - Bjørn Lie <bjorn....@gmail.com> + +- Update to version 1.22.4: + + python: More functions can be called before gst_init(). +- Rebase reduce-required-meson.patch. + +------------------------------------------------------------------- Old: ---- gst-python-1.22.3.tar.xz New: ---- gst-python-1.22.4.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-gst.spec ++++++ --- /var/tmp/diff_new_pack.tS0fxh/_old 2023-07-01 23:17:36.966103795 +0200 +++ /var/tmp/diff_new_pack.tS0fxh/_new 2023-07-01 23:17:36.974103843 +0200 @@ -19,7 +19,7 @@ %define _name gst-python Name: python-gst -Version: 1.22.3 +Version: 1.22.4 Release: 0 Summary: Python Bindings for GStreamer License: LGPL-2.1-or-later ++++++ gst-python-1.22.3.tar.xz -> gst-python-1.22.4.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-python-1.22.3/ChangeLog new/gst-python-1.22.4/ChangeLog --- old/gst-python-1.22.3/ChangeLog 2023-05-19 10:27:00.116218800 +0200 +++ new/gst-python-1.22.4/ChangeLog 2023-06-20 18:49:26.663393500 +0200 @@ -1,3 +1,38 @@ +=== release 1.22.4 === + +2023-06-20 17:42:25 +0100 Tim-Philipp Müller <t...@centricular.com> + + * NEWS: + * RELEASE: + * gst-python.doap: + * meson.build: + Release 1.22.4 + +2023-05-30 20:48:39 +0530 Nirbheek Chauhan <nirbh...@centricular.com> + + * gi/overrides/Gst.py: + python: More functions can be called before gst_init() + Configuration of our debugging system is possible before init, and in + fact is necessary too, otherwise the settings won't apply to logging + that happens during init. + For instance, since you cannot register a log function before you call + init in python, there is no way for you to log errors during init to + whatever logging service your app uses. + Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4763> + +2023-05-30 20:46:37 +0530 Nirbheek Chauhan <nirbh...@centricular.com> + + * gi/overrides/Gst.py: + python: auto-pep8 whitespace issues in overrides + Needed because the next commit edits this file. + Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4763> + +2023-05-19 12:36:19 +0100 Tim-Philipp Müller <t...@centricular.com> + + * meson.build: + Back to development + Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4679> + === release 1.22.3 === 2023-05-19 09:23:19 +0100 Tim-Philipp Müller <t...@centricular.com> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-python-1.22.3/NEWS new/gst-python-1.22.4/NEWS --- old/gst-python-1.22.3/NEWS 2023-05-19 10:23:19.000000000 +0200 +++ new/gst-python-1.22.4/NEWS 2023-06-20 18:42:25.000000000 +0200 @@ -2,13 +2,13 @@ GStreamer 1.22.0 was originally released on 23 January 2023. -The latest bug-fix release in the stable 1.22 series is 1.22.3 and was -released on 19 May 2023. +The latest bug-fix release in the stable 1.22 series is 1.22.4 and was +released on 20 June 2023. See https://gstreamer.freedesktop.org/releases/1.22/ for the latest version of this document. -Last updated: Friday 19 May 2023, 01:00 UTC (log) +Last updated: Tuesday 20 June 2023, 16:30 UTC (log) Introduction @@ -1831,6 +1831,183 @@ - List of Merge Requests applied in 1.22.3 - List of Issues fixed in 1.22.3 +1.22.4 + +The fourth 1.22 bug-fix release (1.22.4) was released on 20 June 2023. + +This release only contains bugfixes and security fixes and it should be +safe to update from 1.22.x. + +Highlighted bugfixes in 1.22.4 + +- Security fixes for flacparse, dvdspu, and subparse +- d3d11videosink: Fix error on pause and play +- decklink: Correctly handle SDK strings on macOS and free strings + after usage on Linux +- filesink: Fix buffered mode writing of buffer lists and buffers with + multiple memories +- gldownload: handle passthrough without a critical +- h265parse: Fix framerate handling regression +- oggdemux: vp8 fixes +- mp4mux, qtmux, qtdemux: Opus audio mapping fixes +- pngdec: Fix wrong colours output from 16bit RGB images +- ptp clock: Work around ptpd bug in default configuration +- srtpdec: fix critical warnings on shutdown +- v4l2src: fix support for bayer format +- v4l2videoenc: support force-keyframe event in v4l2 encoder +- vtenc: apply DTS offset to ensure DTS <= PTS +- gst-python: allow more functions to be called before gst_init() +- cerbero: fix vaapi variant; add qt6 build on windows; ensure errors + on unguarded use of new APIs, require macOS 10.13 +- packages: ship codecalpha, rtponvif, dvbsubenc, switchbin, + videosignal plugins; fix pango crash on 32-bit windows +- various bug fixes, memory leak fixes, and other stability and + reliability improvements + +gstreamer + +- filesink: Fix buffered mode writing of buffer lists and buffers with + multiple memories +- basesink: Clear EOS flag on STREAM-START event +- typefindhelper: downgrade bogus error level debug log message +- ptp: Correctly parse clock ID from the commandline parameters in the + helper +- ptp: Work around bug in ptpd in default configuration + +gst-plugins-base + +- alsasink: Fix stall for transition from PAUSED to READY with USB + speakerphone. +- appsink: unref buffer in prev sample early so buffers from v4l2 can + be released properly +- basetextoverlay: Fix typo in âtext-yâ property description +- gldownload: handle passthrough without a critical +- glfilter: add parent meta to output buffer for input buffer +- oggdemux: vp8: Push headers downstream and detect keyframe packets +- opus: Fix potential crash when getting unexpected channel position +- streamsynchronizer: reset eos on STREAM_START +- subparse: Look for the closing > of a tag after the opening < +- video: convertframe: Add D3D11 specific conversion path +- videometa: Only validate the alignment only when it contains some + info +- video-blend: Fix linking error with C++ + +gst-plugins-good + +- flacparse: Avoid integer overflow in available data check for image + tags +- flvmux: use the correct timestamp to calculate wait times +- isomp4: Fix (E)AC-3 channel count handling +- jpegdec: fixes related to interlaced jpeg +- pngdec: Fix wrong colours output from 16bit RGB images +- qtmux, qtdemux: fix byte order for opus extension +- rtspsrc: Do not try send dropped get/set parameter +- qt5, qt6: Add more meson options and eliminate all automagic +- qt: glrenderer: donât attempt to use QWindow from non-Qt main thread +- qml6glsink: Support building on win32 +- v4l2src: fix support for bayer format +- v4l2: Change to query only up to + V4L2_CID_PRIVATE_BASE+V4L2_CID_MAX_CTRLS +- v4l2videodec: treat MPEG-1 format as MPEG-2 +- v4l2videoenc: support force keyframe event in v4l2 encoder +- tests: rtpbin_buffer_list: fix possible unaligned write/read on + 32-bit ARM + +gst-plugins-bad + +- asfmux: fix possible unaligned write on 32-bit ARM +- d3d11videosink: Fix error on pause and play +- d3dvideosink: Fix navigation event leak +- decklink: Correctly handle SDK strings on macOS and free strings + after usage on Linux +- dvdspu: Make sure enough data is allocated for the available data +- fdkaacdec: Support up to 5 rear channels +- h265parse: Fix framerate handling +- kmssink: Add STM32 LTDC and NXP i.MX8M Plus LCDIFv3 auto-detection +- sdpdemux: ensure that only one srcpad is created per stream +- srtpdec: fix critical warnings on shutdown +- testsrcbin: Remove spurious caps unref +- va: map the mbbrc to correct enum value in get_property() +- vtenc: apply DTS offset to ensure DTS <= PTS +- vtdec: time glitches on h264 playback +- waylandsink: Emit âmapâ signal boarder surface is ready + +gst-plugins-ugly + +- No changes + +gst-libav + +- No changes + +gst-rtsp-server + +- No changes + +gstreamer-vaapi + +- vaapidecodebin: donât load vaapipostproc if not available + +gstreamer-sharp + +- No changes + +gst-omx + +- No changes + +gst-python + +- python: More functions can be called before gst_init() + +gst-editing-services + +- ges: launcher: Never put sinks in a GstPipeline + +gst-validate + gst-integration-testsuites + +- No changes + +gst-examples + +- No changes + +Development build environment + +- No changes + +Cerbero build tool and packaging changes in 1.22.4 + +- Ship codecalpha, rtponvif, dvbsubenc, switchbin, videosignal plugins +- pango: Fix crash on Windows 32bit build +- qml6: Add support for building the qml6 plugin on Windows and bump + meson to 1.1.1 +- vaapi: update vaapi variant/recipe for meson option changes +- packages: Put libass in the same category as assrender +- cerbero: Donât extract if already extracted in fetch +- darwin: Ensure errors on unguarded use of new APIs, require macOS + 10.13 + +Contributors to 1.22.4 + +Andoni Morales Alastruey, Arun Raghavan, Colin Kinloch, Daniel Morin, +Edward Hervey, ekwange, Elliot Chen, François Laignel, Guillaume +Desmottes, Haihua Hu, He Junyan, Hou Qi, Jan Alexander Steffens +(heftig), Jochen Henneberg, Jordan Petridis, Kevin Song, Maksym +Khomenko, Marek Vasut, Mathieu Duponchelle, Matthew Waters, +Mengkejiergeli Ba, Michael Olbrich, Nicolas Beland, Nicolas Dufresne, +Nirbheek Chauhan, Philippe Normand, Piotr BrzeziÅski, Sebastian Dröge, +Seungha Yang, Thibault Saunier, Tim-Philipp Müller, VÃctor Manuel Jáquez +Leal, William Manley, Xavier Claessens, Yuri Fedoseev, + +⦠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.22.4 + +- List of Merge Requests applied in 1.22.4 +- List of Issues fixed in 1.22.4 + Schedule for 1.24 Our next major feature release will be 1.24, and 1.23 will be the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-python-1.22.3/RELEASE new/gst-python-1.22.4/RELEASE --- old/gst-python-1.22.3/RELEASE 2023-05-19 10:23:19.000000000 +0200 +++ new/gst-python-1.22.4/RELEASE 2023-06-20 18:42:25.000000000 +0200 @@ -1,4 +1,4 @@ -This is GStreamer gst-python 1.22.3. +This is GStreamer gst-python 1.22.4. The GStreamer team is thrilled to announce a new major feature release of your favourite cross-platform multimedia framework! diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-python-1.22.3/gi/overrides/Gst.py new/gst-python-1.22.4/gi/overrides/Gst.py --- old/gst-python-1.22.3/gi/overrides/Gst.py 2023-05-19 10:23:19.000000000 +0200 +++ new/gst-python-1.22.4/gi/overrides/Gst.py 2023-06-20 18:42:25.000000000 +0200 @@ -53,9 +53,11 @@ class URIHandler(Gst.URIHandler): pass + URIHandler = override(URIHandler) __all__.append('URIHandler') + class Element(Gst.Element): @staticmethod def link_many(*args): @@ -67,6 +69,7 @@ raise LinkError( 'Failed to link {} and {}'.format(pair[0], pair[1])) + Element = override(Element) __all__.append('Element') @@ -95,6 +98,7 @@ Bin = override(Bin) __all__.append('Bin') + class Caps(Gst.Caps): def __nonzero__(self): @@ -135,9 +139,11 @@ def __len__(self): return self.get_size() + Caps = override(Caps) __all__.append('Caps') + class PadFunc: def __init__(self, func): self.func = func @@ -159,6 +165,7 @@ return res + class Pad(Gst.Pad): def __init__(self, *args, **kwargs): super(Gst.Pad, self).__init__(*args, **kwargs) @@ -197,9 +204,11 @@ raise LinkError(ret) return ret + Pad = override(Pad) __all__.append('Pad') + class GhostPad(Gst.GhostPad): def __init__(self, name, target=None, direction=None): if direction is None: @@ -216,23 +225,36 @@ def query_caps(self, filter=None): return Gst.GhostPad.query_caps(self, filter) + GhostPad = override(GhostPad) __all__.append('GhostPad') + class IteratorError(Exception): pass + + __all__.append('IteratorError') + class AddError(Exception): pass + + __all__.append('AddError') + class LinkError(Exception): pass + + __all__.append('LinkError') + class MapError(Exception): pass + + __all__.append('MapError') @@ -248,6 +270,7 @@ yield value + Iterator = override(Iterator) __all__.append('Iterator') @@ -268,13 +291,16 @@ def make(cls, factory_name, instance_name=None): return Gst.ElementFactory.make(factory_name, instance_name) + class Pipeline(Gst.Pipeline): def __init__(self, name=None): Gst.Pipeline.__init__(self, name=name) + Pipeline = override(Pipeline) __all__.append('Pipeline') + class Structure(Gst.Structure): def __new__(cls, *args, **kwargs): if not args: @@ -305,6 +331,7 @@ def keys(self): keys = set() + def foreach(fid, value, unused1, udata): keys.add(GLib.quark_to_string(fid)) return True @@ -318,12 +345,14 @@ def __str__(self): return self.to_string() + Structure = override(Structure) __all__.append('Structure') ElementFactory = override(ElementFactory) __all__.append('ElementFactory') + class Fraction(Gst.Fraction): def __init__(self, num, denom=1): def __gcd(a, b): @@ -377,7 +406,7 @@ elif isinstance(other, int): return Fraction(self.num * other, self.denom) raise TypeError("%s is not supported, use Gst.Fraction or int." % - (type(other))) + (type(other))) __rmul__ = __mul__ @@ -388,7 +417,7 @@ elif isinstance(other, int): return Fraction(self.num, self.denom * other) return TypeError("%s is not supported, use Gst.Fraction or int." % - (type(other))) + (type(other))) __div__ = __truediv__ @@ -405,6 +434,7 @@ def __str__(self): return '%d/%d' % (self.num, self.denom) + Fraction = override(Fraction) __all__.append('Fraction') @@ -427,14 +457,14 @@ def __repr__(self): return '<Gst.IntRange [%d,%d,%d]>' % (self.range.start, - self.range.stop, self.range.step) + self.range.stop, self.range.step) def __str__(self): if self.range.step == 1: return '[%d,%d]' % (self.range.start, self.range.stop) else: return '[%d,%d,%d]' % (self.range.start, self.range.stop, - self.range.step) + self.range.step) def __eq__(self, other): if isinstance(other, range): @@ -443,6 +473,7 @@ return self.range == other.range return False + if sys.version_info >= (3, 0): IntRange = override(IntRange) __all__.append('IntRange') @@ -466,14 +497,14 @@ def __repr__(self): return '<Gst.Int64Range [%d,%d,%d]>' % (self.range.start, - self.range.stop, self.range.step) + self.range.stop, self.range.step) def __str__(self): if self.range.step == 1: return '(int64)[%d,%d]' % (self.range.start, self.range.stop) else: return '(int64)[%d,%d,%d]' % (self.range.start, self.range.stop, - self.range.step) + self.range.step) def __eq__(self, other): if isinstance(other, range): @@ -482,6 +513,7 @@ return self.range == other.range return False + class Bitmask(Gst.Bitmask): def __init__(self, v): if not isinstance(v, int): @@ -540,11 +572,12 @@ def __repr__(self): return '<Gst.FractionRange [%s,%s]>' % (str(self.start), - str(self.stop)) + str(self.stop)) def __str__(self): return '(fraction)[%s,%s]' % (str(self.start), str(self.stop)) + FractionRange = override(FractionRange) __all__.append('FractionRange') @@ -563,11 +596,12 @@ return len(self.array) def __str__(self): - return '<' + ','.join(map(str,self.array)) + '>' + return '<' + ','.join(map(str, self.array)) + '>' def __repr__(self): return '<Gst.ValueArray %s>' % (str(self)) + ValueArray = override(ValueArray) __all__.append('ValueArray') @@ -586,11 +620,12 @@ return len(self.array) def __str__(self): - return '{' + ','.join(map(str,self.array)) + '}' + return '{' + ','.join(map(str, self.array)) + '}' def __repr__(self): return '<Gst.ValueList %s>' % (str(self)) + ValueList = override(ValueList) __all__.append('ValueList') @@ -602,6 +637,7 @@ next(b, None) return zip(a, b) + class MapInfo: def __init__(self): self.memory = None @@ -628,8 +664,10 @@ if not self.__parent__.unmap(self): raise MapError('MappingError', 'Unmapping was not successful') + __all__.append("MapInfo") + class Buffer(Gst.Buffer): def map_range(self, idx, length, flags): @@ -650,9 +688,11 @@ mapinfo.__parent__ = None return _gi_gst.buffer_override_unmap(self, mapinfo) + Buffer = override(Buffer) __all__.append('Buffer') + class Memory(Gst.Memory): def map(self, flags): @@ -666,9 +706,11 @@ mapinfo.__parent__ = None return _gi_gst.memory_override_unmap(self, mapinfo) + Memory = override(Memory) __all__.append('Memory') + def TIME_ARGS(time): if time == Gst.CLOCK_TIME_NONE: return "CLOCK_TIME_NONE" @@ -677,6 +719,8 @@ (time / (Gst.SECOND * 60)) % 60, (time / Gst.SECOND) % 60, time % Gst.SECOND) + + __all__.append('TIME_ARGS') from gi.overrides import _gi_gst @@ -694,10 +738,15 @@ Gst.memdump = _gi_gst.memdump # Make sure PyGst is not usable if GStreamer has not been initialized + + class NotInitialized(Exception): pass + + __all__.append('NotInitialized') + def fake_method(*args): raise NotInitialized("Please call Gst.init(argv) before using GStreamer") @@ -711,6 +760,24 @@ for o in cname_klass[1].__dict__ if isinstance(cname_klass[1].__dict__[o], type(Gst.init))])) +pre_init_functions = set([ + "init", + "init_check", + "deinit", + "is_initialized", + "debug_add_log_function", + "debug_add_ring_buffer_logger", + "debug_remove_log_function", + "debug_remove_log_function_by_data", + "debug_remove_ring_buffer_logger", + "debug_set_active", + "debug_set_color_mode", + "debug_set_color_mode_from_string", + "debug_set_colored", + "debug_set_default_threshold", +]) + + def init_pygst(): for fname, function in real_functions: if fname not in ["init", "init_check", "deinit"]: @@ -723,12 +790,13 @@ def deinit_pygst(): for fname, func in real_functions: - if fname not in ["init", "init_check", "deinit", "is_initialized"]: + if fname not in pre_init_functions: setattr(Gst, fname, fake_method) for cname_class, methods in class_methods: for mname, method in methods: setattr(cname_class[1], mname, fake_method) + real_init = Gst.init def init(argv): init_pygst() @@ -738,9 +806,12 @@ return real_init(argv) + Gst.init = init real_init_check = Gst.init_check + + def init_check(argv): init_pygst() if Gst.is_initialized(): @@ -748,19 +819,24 @@ return real_init_check(argv) + Gst.init_check = init_check real_deinit = Gst.deinit + + def deinit(): deinit_pygst() return real_deinit() + def init_python(): if not Gst.is_initialized(): raise NotInitialized("Gst.init_python should never be called before GStreamer itself is initialized") init_pygst() + Gst.deinit = deinit Gst.init_python = init_python diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-python-1.22.3/gst-python.doap new/gst-python-1.22.4/gst-python.doap --- old/gst-python-1.22.3/gst-python.doap 2023-05-19 10:23:19.000000000 +0200 +++ new/gst-python-1.22.4/gst-python.doap 2023-06-20 18:42:25.000000000 +0200 @@ -32,6 +32,16 @@ <release> <Version> + <revision>1.22.4</revision> + <branch>1.22</branch> + <name></name> + <created>2023-06-20</created> + <file-release rdf:resource="https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.22.4.tar.xz" /> + </Version> + </release> + + <release> + <Version> <revision>1.22.3</revision> <branch>1.22</branch> <name></name> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-python-1.22.3/meson.build new/gst-python-1.22.4/meson.build --- old/gst-python-1.22.3/meson.build 2023-05-19 10:23:19.000000000 +0200 +++ new/gst-python-1.22.4/meson.build 2023-06-20 18:42:25.000000000 +0200 @@ -1,5 +1,5 @@ project('gst-python', 'c', - version : '1.22.3', + version : '1.22.4', meson_version : '>= 0.62', default_options : [ 'warning_level=1', 'c_std=gnu99', ++++++ reduce-required-meson.patch ++++++ --- /var/tmp/diff_new_pack.tS0fxh/_old 2023-07-01 23:17:37.130104778 +0200 +++ /var/tmp/diff_new_pack.tS0fxh/_new 2023-07-01 23:17:37.134104802 +0200 @@ -1,10 +1,10 @@ -Index: gst-python-1.22.3/meson.build +Index: gst-python-1.22.4/meson.build =================================================================== ---- gst-python-1.22.3.orig/meson.build -+++ gst-python-1.22.3/meson.build +--- gst-python-1.22.4.orig/meson.build ++++ gst-python-1.22.4/meson.build @@ -1,6 +1,6 @@ project('gst-python', 'c', - version : '1.22.3', + version : '1.22.4', - meson_version : '>= 0.62', + meson_version : '>= 0.61', default_options : [ 'warning_level=1',