commit gstreamer for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gstreamer for openSUSE:Factory checked in at 2023-09-29 21:12:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gstreamer (Old) and /work/SRC/openSUSE:Factory/.gstreamer.new.28202 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gstreamer" Fri Sep 29 21:12:56 2023 rev:90 rq:1113993 version:1.22.6 Changes: -------- --- /work/SRC/openSUSE:Factory/gstreamer/gstreamer.changes 2023-07-27 16:50:35.885742938 +0200 +++ /work/SRC/openSUSE:Factory/.gstreamer.new.28202/gstreamer.changes 2023-09-29 21:13:29.397567041 +0200 @@ -1,0 +2,32 @@ +Fri Sep 22 11:31:22 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com> + +- Update to version 1.22.6: + + Highlighted bugfixes: + - Security fixes for the MXF demuxer and H.265 video parser + - Fix latency regression in H.264 hardware decoder base class + - androidmedia: fix HEVC codec profile registration and fix + coded_data handling + - decodebin3: fix switching from a raw stream to an encoded + stream + - gst-inspect: prettier and more correct signal and action + signals printing + - rtmp2: Allow NULL flash version, omitting the field, for + better RTMP server compatibility + - rtspsrc: better compatibility with buggy RTSP servers that + don't set a clock-rate + - rtpjitterbuffer: fix integer overflow that led to more + packets being declared lost than have been lost + - v4l2: fix video encoding regression on RPi and fix support + for left and top padding + - waylandsink: Crop surfaces to their display width height + - cerbero: Recognise Manjaro; add Rust support for MSVC ARM64; + cmake detection fixes + - Various bug fixes, memory leak fixes, and other stability and + reliability improvements + + gstreamer: + - gst-inspect: prettier and more correct signal printing, and + print action signals in g_signal_emit_by_name() format + - gst-launch: Disable fault signal handlers on macOS +- Rebase reduce-required-meson.patch + +------------------------------------------------------------------- Old: ---- gstreamer-1.22.5.tar.xz New: ---- gstreamer-1.22.6.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gstreamer.spec ++++++ --- /var/tmp/diff_new_pack.Uk5y9c/_old 2023-09-29 21:13:30.753615967 +0200 +++ /var/tmp/diff_new_pack.Uk5y9c/_new 2023-09-29 21:13:30.757616111 +0200 @@ -19,7 +19,7 @@ %define gst_branch 1.0 Name: gstreamer -Version: 1.22.5 +Version: 1.22.6 Release: 0 Summary: Streaming-Media Framework Runtime License: LGPL-2.1-or-later ++++++ gstreamer-1.22.5.tar.xz -> gstreamer-1.22.6.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gstreamer-1.22.5/ChangeLog new/gstreamer-1.22.6/ChangeLog --- old/gstreamer-1.22.5/ChangeLog 2023-07-20 16:23:00.724880000 +0200 +++ new/gstreamer-1.22.6/ChangeLog 2023-09-20 19:11:26.598182200 +0200 @@ -1,3 +1,56 @@ +=== release 1.22.6 === + +2023-09-20 18:10:57 +0100 Tim-Philipp Müller <tim@centricular.com> + + * NEWS: + * RELEASE: + * gstreamer.doap: + * meson.build: + Release 1.22.6 + +2023-03-28 19:58:30 +0100 Tim-Philipp Müller <tim@centricular.com> + + * tools/gst-inspect.c: + tools: gst-inspect: print action signals as emit_by_name() invocations + It's quite confusing to print a function callback signature for + action signals when people need to do a g_signal_by_name() invocation + in order to use this feature. Requires too much background knowledge + about how GObject works under the hood to make sense of that. + Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5206> + +2023-03-29 16:46:43 +0100 Tim-Philipp Müller <tim@centricular.com> + + * tools/gst-inspect.c: + tools: gst-inspect: prettify type names for strings + 'gchararray' and 'GStrv' are not types used anywhere else + and are just confusing. Map that to 'const gchar *' and 'gchar *' + etc. depending on context. + Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5206> + +2023-03-28 19:56:14 +0100 Tim-Philipp Müller <tim@centricular.com> + + * tools/gst-inspect.c: + tools: gst-inspect: add vertical spacing between properties and signals + Makes it easier to read and less squashed. + Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5206> + +2023-08-15 16:01:28 +0200 Piotr Brzeziński <piotr@centricular.com> + + * tools/gst-launch.c: + tools: Disable fault signal handlers in gst-launch/gst-validate on macOS + By default, macOS attempts to run lldb against a misbehaving process to handle the crash. This does not play well + with the SISEGV/SIGQUIT handler we add in gst-launch/gst-validate. The 'spinning' mechanism causes the lldb + and debugserver processes ran by macOS to misbehave, taking 100% CPU and rendering both themselves and the GStreamer + instance frozen and very hard to effectively kill. macOS's Activity Monitor is also unusable while this is happening. + This patch takes the quickest possible solution of just disabling those signal handlers entirely on macOS. + Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5201> + +2023-07-20 16:57:47 +0100 Tim-Philipp Müller <tim@centricular.com> + + * meson.build: + Back to development + Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5082> + === release 1.22.5 === 2023-07-20 15:22:48 +0100 Tim-Philipp Müller <tim@centricular.com> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gstreamer-1.22.5/NEWS new/gstreamer-1.22.6/NEWS --- old/gstreamer-1.22.5/NEWS 2023-07-20 16:22:48.000000000 +0200 +++ new/gstreamer-1.22.6/NEWS 2023-09-20 19:10:57.000000000 +0200 @@ -2189,6 +2189,183 @@ - List of Merge Requests applied in 1.22.5 - List of Issues fixed in 1.22.5 +1.22.6 + +The sixth 1.22 bug-fix release (1.22.6) was released on 20 September +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.6 + +- Security fixes for the MXF demuxer and H.265 video parser +- Fix latency regression in H.264 hardware decoder base class +- androidmedia: fix HEVC codec profile registration and fix coded_data + handling +- decodebin3: fix switching from a raw stream to an encoded stream +- gst-inspect: prettier and more correct signal and action signals + printing +- rtmp2: Allow NULL flash version, omitting the field, for better RTMP + server compatibility +- rtspsrc: better compatibility with buggy RTSP servers that don’t set + a clock-rate +- rtpjitterbuffer: fix integer overflow that led to more packets being + declared lost than have been lost +- v4l2: fix video encoding regression on RPi and fix support for left + and top padding +- waylandsink: Crop surfaces to their display width height +- cerbero: recognise Manjaro; add Rust support for MSVC ARM64; cmake + detection fixes +- various bug fixes, build fixes, memory leak fixes, and other + stability and reliability improvements + +gstreamer + +- gst-inspect: prettier and more correct signal printing, and print + action signals in g_signal_emit_by_name() format +- gst-launch: Disable fault signal handlers on macOS + +gst-plugins-base + +- audio: Make sure to stop ringbuffer on error +- decodebin3: avoid identity, sinkpad, parsebin leakage when reset + input +- decodebin3: Ensure the slot is unlinked before linking to decoder +- sdp: fix wrong debug log error message for missing clock-rate in + caps +- sdp: Parse zero clock-rate as default + +gst-plugins-good + +- adaptivedemux2: fix memory leak +- pulsedeviceprovider: fix incorrect usage of GST_ELEMENT_ERROR +- qt: Unbreak build with qt-egl enabled but viv_fb missing +- qt: Fix searching of qt5/qt6 tools with qmake in Meson +- qtdemux: Fix premature EOS when some files are played in push mode +- qtdemux: attach cbcs crypt info at the right moment +- rtpjitterbuffer: Avoid integer overflow in max saveable packets + calculation with negative offset +- videoflip: fix concurrent access when modifying the tag list +- v4l2: allocator: Don’t close foreign dmabuf +- v4l2: bufferpool: Fix large encoded stream regression +- v4l2: bufferpool: Problems when checking for truncated buffer +- v4l2: Fix support for left and top padding +- v4l2object: clear format lists if source change event is received + +gst-plugins-bad + +- androidmedia/enc: handle codec-data before popping + GstVideoCodecFrames +- androidmedia: fix hevc codec profile registration +- androidmedia: Small fixes +- androidmedia: Add more null checks (of env) to JNI utilities +- applemedia: Fix pixel format for I420 and NV12 +- audiolatency: Forward latency query and event upstream +- av1parser: Fix segmentation params update +- codecparsers: Fix MPEG-1 aspect ratio table +- d3d11convert: Passthrough allocation query on same caps +- h264decoder: Update latency dynamically +- h265parser: Allow partially broken hvcC data +- h265parser: Fix possible overflow using max_sub_layers_minus1 +- hlssink2: Always use forward slash separator +- mdns: Fix a crash on context error +- mxfdemux: Fix integer overflow causing out of bounds writes when + handling invalid uncompressed video and check channels for AES3 +- nvencoder: Fix negotiation error when interlace-mode is unspecified +- rtmp2: Allow NULL flash version, omitting the field +- rtmp2sink: fix crash if message conversion failed +- transcodebin: Fixes for upstream selectable support +- va: Fix in error logs functions mismatches +- waylandsink: Crop surfaces to their display width height +- waylandsink: Fix cropping for video with non-square aspect ratio +- webrtc: Fix docs for create-data-channel action signal +- win32ipc: Fix pipe handle leak + +gst-plugins-ugly + +- No changes + +gst-plugins-rs + +- fallbackswitch: locking/deadlock fixes +- onvifmetadataparse: Skip metadata frames with unrepresentable UTC + time +- transcriberbin: Configure audioresample in front of transcriber +- webrtcsink: Propagate GstContext messages +- webrtcsink: Add support for d3d11 memory and qsvh264enc +- webrtcsink: fix TWCC extension adding +- webrtcsink: don’t forget to setup encoders for discoveries +- webrtcsink: NVIDIA V4L2 encoders always require NVMM memory +- meson: Fix handling of optional deps, and don’t require Python 3.8 + +gst-libav + +- No changes + +gst-rtsp-server + +- No changes + +gstreamer-vaapi + +- No changes + +gstreamer-sharp + +- No changes + +gst-omx + +- No changes + +gst-python + +- No changes + +gst-editing-services + +- No changes + +gst-validate + gst-integration-testsuites + +- gst-validate: Disable fault signal handlers on macOS + +gst-examples + +- No changes + +Development build environment + +- macos-bison: Update to 3.8.2 and add an ARM64 build +- wrap: update libpsl to 0.21.2 + +Cerbero build tool and packaging changes in 1.22.6 + +- Add Rust support for MSVC ARM64 +- Recognise PERL5LIB as a joinable Unix variable +- Recognise Manjaro as an Arch derivative +- Fix picking up cmake from build-tools + +Contributors to 1.22.6 + +Akihiro Sagawa, Alicia Boya García, Guillaume Desmottes, Haihua Hu, +Hugues Fruchet, Ivan Molodetskikh, Jan Alexander Steffens (heftig), Jan +Schmidt, L. E. Segovia, Mathieu Duponchelle, Matthew Waters, Ming Qian, +Nicolas Dufresne, Nirbheek Chauhan, Olivier Blin, Olivier Crête, +Philippe Normand, Piotr Brzeziński, Robert Ayrapetyan, Ryan Pavlik, +Sebastian Dröge, Seungha Yang, Stéphane Cerveau, Stephan Seitz, Thomas +Schneider, Tim-Philipp Müller, Víctor Manuel Jáquez Leal, Wang Chuan, +Xabier Rodriguez Calvar, + +… 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.6 + +- List of Merge Requests applied in 1.22.6 +- List of Issues fixed in 1.22.6 + 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/gstreamer-1.22.5/RELEASE new/gstreamer-1.22.6/RELEASE --- old/gstreamer-1.22.5/RELEASE 2023-07-20 16:22:48.000000000 +0200 +++ new/gstreamer-1.22.6/RELEASE 2023-09-20 19:10:57.000000000 +0200 @@ -1,4 +1,4 @@ -This is GStreamer core 1.22.5. +This is GStreamer core 1.22.6. 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/gstreamer-1.22.5/gstreamer.doap new/gstreamer-1.22.6/gstreamer.doap --- old/gstreamer-1.22.5/gstreamer.doap 2023-07-20 16:22:48.000000000 +0200 +++ new/gstreamer-1.22.6/gstreamer.doap 2023-09-20 19:10:57.000000000 +0200 @@ -40,6 +40,16 @@ <release> <Version> + <revision>1.22.6</revision> + <branch>1.22</branch> + <name></name> + <created>2023-09-20</created> + <file-release rdf:resource="https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.22.6.tar.xz" /> + </Version> + </release> + + <release> + <Version> <revision>1.22.5</revision> <branch>1.22</branch> <name></name> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gstreamer-1.22.5/meson.build new/gstreamer-1.22.6/meson.build --- old/gstreamer-1.22.5/meson.build 2023-07-20 16:22:48.000000000 +0200 +++ new/gstreamer-1.22.6/meson.build 2023-09-20 19:10:57.000000000 +0200 @@ -1,5 +1,5 @@ project('gstreamer', 'c', - version : '1.22.5', + version : '1.22.6', meson_version : '>= 0.62', default_options : [ 'warning_level=1', 'buildtype=debugoptimized' ]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gstreamer-1.22.5/po/gstreamer-1.0.pot new/gstreamer-1.22.6/po/gstreamer-1.0.pot --- old/gstreamer-1.22.5/po/gstreamer-1.0.pot 2023-07-20 16:23:00.436875000 +0200 +++ new/gstreamer-1.22.6/po/gstreamer-1.0.pot 2023-09-20 19:11:26.286178600 +0200 @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: gstreamer-1.22.5\n" +"Project-Id-Version: gstreamer-1.22.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-20 15:23+0100\n" +"POT-Creation-Date: 2023-09-20 18:11+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -1316,84 +1316,84 @@ msgid "%sImplemented Interfaces%s:\n" msgstr "" -#: tools/gst-inspect.c:469 +#: tools/gst-inspect.c:470 msgid "readable" msgstr "" -#: tools/gst-inspect.c:474 +#: tools/gst-inspect.c:475 msgid "writable" msgstr "" -#: tools/gst-inspect.c:479 +#: tools/gst-inspect.c:480 msgid "deprecated" msgstr "" -#: tools/gst-inspect.c:483 +#: tools/gst-inspect.c:484 msgid "controllable" msgstr "" -#: tools/gst-inspect.c:488 +#: tools/gst-inspect.c:489 msgid "conditionally available" msgstr "" -#: tools/gst-inspect.c:494 +#: tools/gst-inspect.c:495 msgid "changeable in NULL, READY, PAUSED or PLAYING state" msgstr "" -#: tools/gst-inspect.c:497 +#: tools/gst-inspect.c:498 msgid "changeable only in NULL, READY or PAUSED state" msgstr "" -#: tools/gst-inspect.c:500 +#: tools/gst-inspect.c:501 msgid "changeable only in NULL or READY state" msgstr "" -#: tools/gst-inspect.c:1248 +#: tools/gst-inspect.c:1287 msgid "Blacklisted files:" msgstr "" -#: tools/gst-inspect.c:1263 tools/gst-inspect.c:1400 +#: tools/gst-inspect.c:1302 tools/gst-inspect.c:1439 #, c-format msgid "%sTotal count%s: %s" msgstr "" -#: tools/gst-inspect.c:1265 +#: tools/gst-inspect.c:1304 #, c-format msgid "%d blacklisted file" msgid_plural "%d blacklisted files" msgstr[0] "" msgstr[1] "" -#: tools/gst-inspect.c:1402 +#: tools/gst-inspect.c:1441 #, c-format msgid "%d plugin" msgid_plural "%d plugins" msgstr[0] "" msgstr[1] "" -#: tools/gst-inspect.c:1405 +#: tools/gst-inspect.c:1444 #, c-format msgid "%d blacklist entry" msgid_plural "%d blacklist entries" msgstr[0] "" msgstr[1] "" -#: tools/gst-inspect.c:1410 +#: tools/gst-inspect.c:1449 #, c-format msgid "%d feature" msgid_plural "%d features" msgstr[0] "" msgstr[1] "" -#: tools/gst-inspect.c:2114 +#: tools/gst-inspect.c:2153 msgid "Print all elements" msgstr "" -#: tools/gst-inspect.c:2116 +#: tools/gst-inspect.c:2155 msgid "Print list of blacklisted files" msgstr "" -#: tools/gst-inspect.c:2118 +#: tools/gst-inspect.c:2157 msgid "" "Print a machine-parsable list of features the specified plugin or all " "plugins provide.\n" @@ -1401,46 +1401,46 @@ "automatic plugin installation mechanisms" msgstr "" -#: tools/gst-inspect.c:2123 +#: tools/gst-inspect.c:2162 msgid "List the plugin contents" msgstr "" -#: tools/gst-inspect.c:2125 +#: tools/gst-inspect.c:2164 msgid "" "A slashes ('/') separated list of types of elements (also known as klass) to " "list. (unordered)" msgstr "" -#: tools/gst-inspect.c:2128 +#: tools/gst-inspect.c:2167 msgid "Check if the specified element or plugin exists" msgstr "" -#: tools/gst-inspect.c:2131 +#: tools/gst-inspect.c:2170 msgid "" "When checking if an element or plugin exists, also check that its version is " "at least the version specified" msgstr "" -#: tools/gst-inspect.c:2135 +#: tools/gst-inspect.c:2174 msgid "Print supported URI schemes, with the elements that implement them" msgstr "" -#: tools/gst-inspect.c:2140 +#: tools/gst-inspect.c:2179 msgid "" "Disable colors in output. You can also achieve the same by setting " "'GST_INSPECT_NO_COLORS' environment variable to any value." msgstr "" -#: tools/gst-inspect.c:2148 +#: tools/gst-inspect.c:2187 msgid "Color output, even when not sending to a tty." msgstr "" -#: tools/gst-inspect.c:2315 +#: tools/gst-inspect.c:2354 #, c-format msgid "Could not load plugin file: %s\n" msgstr "" -#: tools/gst-inspect.c:2321 +#: tools/gst-inspect.c:2360 #, c-format msgid "No such element or plugin '%s'\n" msgstr "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gstreamer-1.22.5/po/gstreamer.pot new/gstreamer-1.22.6/po/gstreamer.pot --- old/gstreamer-1.22.5/po/gstreamer.pot 2023-07-20 16:23:00.436875000 +0200 +++ new/gstreamer-1.22.6/po/gstreamer.pot 2023-09-20 19:11:26.286178600 +0200 @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: gstreamer-1.22.5\n" +"Project-Id-Version: gstreamer-1.22.6\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-20 15:23+0100\n" +"POT-Creation-Date: 2023-09-20 18:11+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -1316,84 +1316,84 @@ msgid "%sImplemented Interfaces%s:\n" msgstr "" -#: tools/gst-inspect.c:469 +#: tools/gst-inspect.c:470 msgid "readable" msgstr "" -#: tools/gst-inspect.c:474 +#: tools/gst-inspect.c:475 msgid "writable" msgstr "" -#: tools/gst-inspect.c:479 +#: tools/gst-inspect.c:480 msgid "deprecated" msgstr "" -#: tools/gst-inspect.c:483 +#: tools/gst-inspect.c:484 msgid "controllable" msgstr "" -#: tools/gst-inspect.c:488 +#: tools/gst-inspect.c:489 msgid "conditionally available" msgstr "" -#: tools/gst-inspect.c:494 +#: tools/gst-inspect.c:495 msgid "changeable in NULL, READY, PAUSED or PLAYING state" msgstr "" -#: tools/gst-inspect.c:497 +#: tools/gst-inspect.c:498 msgid "changeable only in NULL, READY or PAUSED state" msgstr "" -#: tools/gst-inspect.c:500 +#: tools/gst-inspect.c:501 msgid "changeable only in NULL or READY state" msgstr "" -#: tools/gst-inspect.c:1248 +#: tools/gst-inspect.c:1287 msgid "Blacklisted files:" msgstr "" -#: tools/gst-inspect.c:1263 tools/gst-inspect.c:1400 +#: tools/gst-inspect.c:1302 tools/gst-inspect.c:1439 #, c-format msgid "%sTotal count%s: %s" msgstr "" -#: tools/gst-inspect.c:1265 +#: tools/gst-inspect.c:1304 #, c-format msgid "%d blacklisted file" msgid_plural "%d blacklisted files" msgstr[0] "" msgstr[1] "" -#: tools/gst-inspect.c:1402 +#: tools/gst-inspect.c:1441 #, c-format msgid "%d plugin" msgid_plural "%d plugins" msgstr[0] "" msgstr[1] "" -#: tools/gst-inspect.c:1405 +#: tools/gst-inspect.c:1444 #, c-format msgid "%d blacklist entry" msgid_plural "%d blacklist entries" msgstr[0] "" msgstr[1] "" -#: tools/gst-inspect.c:1410 +#: tools/gst-inspect.c:1449 #, c-format msgid "%d feature" msgid_plural "%d features" msgstr[0] "" msgstr[1] "" -#: tools/gst-inspect.c:2114 +#: tools/gst-inspect.c:2153 msgid "Print all elements" msgstr "" -#: tools/gst-inspect.c:2116 +#: tools/gst-inspect.c:2155 msgid "Print list of blacklisted files" msgstr "" -#: tools/gst-inspect.c:2118 +#: tools/gst-inspect.c:2157 msgid "" "Print a machine-parsable list of features the specified plugin or all " "plugins provide.\n" @@ -1401,46 +1401,46 @@ "automatic plugin installation mechanisms" msgstr "" -#: tools/gst-inspect.c:2123 +#: tools/gst-inspect.c:2162 msgid "List the plugin contents" msgstr "" -#: tools/gst-inspect.c:2125 +#: tools/gst-inspect.c:2164 msgid "" "A slashes ('/') separated list of types of elements (also known as klass) to " "list. (unordered)" msgstr "" -#: tools/gst-inspect.c:2128 +#: tools/gst-inspect.c:2167 msgid "Check if the specified element or plugin exists" msgstr "" -#: tools/gst-inspect.c:2131 +#: tools/gst-inspect.c:2170 msgid "" "When checking if an element or plugin exists, also check that its version is " "at least the version specified" msgstr "" -#: tools/gst-inspect.c:2135 +#: tools/gst-inspect.c:2174 msgid "Print supported URI schemes, with the elements that implement them" msgstr "" -#: tools/gst-inspect.c:2140 +#: tools/gst-inspect.c:2179 msgid "" "Disable colors in output. You can also achieve the same by setting " "'GST_INSPECT_NO_COLORS' environment variable to any value." msgstr "" -#: tools/gst-inspect.c:2148 +#: tools/gst-inspect.c:2187 msgid "Color output, even when not sending to a tty." msgstr "" -#: tools/gst-inspect.c:2315 +#: tools/gst-inspect.c:2354 #, c-format msgid "Could not load plugin file: %s\n" msgstr "" -#: tools/gst-inspect.c:2321 +#: tools/gst-inspect.c:2360 #, c-format msgid "No such element or plugin '%s'\n" msgstr "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gstreamer-1.22.5/tools/gst-inspect.c new/gstreamer-1.22.6/tools/gst-inspect.c --- old/gstreamer-1.22.5/tools/gst-inspect.c 2023-07-20 16:22:48.000000000 +0200 +++ new/gstreamer-1.22.6/tools/gst-inspect.c 2023-09-20 19:10:57.000000000 +0200 @@ -432,6 +432,7 @@ (GCompareDataFunc) sort_gparamspecs, NULL); n_print ("%s%s%s:\n", HEADING_COLOR, desc, RESET_COLOR); + n_print ("\n"); push_indent (); @@ -780,6 +781,8 @@ pop_indent_n (11); g_value_reset (&value); + + n_print ("\n"); } if (num_properties == 0) n_print ("%snone%s\n", PROP_VALUE_COLOR, RESET_COLOR); @@ -1065,6 +1068,21 @@ return FALSE; } +static const gchar * +pretty_type_name (GType type, const gchar ** p_pmark) +{ + if (type == G_TYPE_STRING) { + *p_pmark = " * "; + return "gchar"; + } else if (type == G_TYPE_STRV) { + *p_pmark = " ** "; + return "gchar"; + } else { + *p_pmark = gtype_needs_ptr_marker (type) ? " * " : " "; + return g_type_name (type); + } +} + static void print_signal_info (GstElement * element) { @@ -1077,11 +1095,13 @@ GSList *found_signals, *l; for (k = 0; k < 2; k++) { + gboolean want_actions = (k == 1); + found_signals = NULL; /* For elements that have sometimes pads, also list a few useful GstElement * signals. Put these first, so element-specific ones come later. */ - if (k == 0 && has_sometimes_template (element)) { + if (!want_actions && has_sometimes_template (element)) { query = g_new0 (GSignalQuery, 1); g_signal_query (g_signal_lookup ("pad-added", GST_TYPE_ELEMENT), query); found_signals = g_slist_append (found_signals, query); @@ -1106,8 +1126,8 @@ query = g_new0 (GSignalQuery, 1); g_signal_query (signals[i], query); - if ((k == 0 && !(query->signal_flags & G_SIGNAL_ACTION)) || - (k == 1 && (query->signal_flags & G_SIGNAL_ACTION))) + if ((!want_actions && !(query->signal_flags & G_SIGNAL_ACTION)) || + (want_actions && (query->signal_flags & G_SIGNAL_ACTION))) found_signals = g_slist_append (found_signals, query); else g_free (query); @@ -1118,10 +1138,11 @@ if (found_signals) { n_print ("\n"); - if (k == 0) + if (!want_actions) n_print ("%sElement Signals%s:\n", HEADING_COLOR, RESET_COLOR); else n_print ("%sElement Actions%s:\n", HEADING_COLOR, RESET_COLOR); + n_print ("\n"); } else { continue; } @@ -1129,47 +1150,65 @@ for (l = found_signals; l; l = l->next) { gchar *indent; const gchar *pmark; + const gchar *retval_type_name; int indent_len; query = (GSignalQuery *) l->data; - indent_len = strlen (query->signal_name) + - strlen (g_type_name (query->return_type)) + 24; + retval_type_name = pretty_type_name (query->return_type, &pmark); - if (gtype_needs_ptr_marker (query->return_type)) { - pmark = "* "; - indent_len += 2; - } else { - pmark = " "; - } + indent_len = strlen (query->signal_name) + strlen (retval_type_name); + indent_len += strlen (pmark) - 1; + indent_len += (want_actions) ? 36 : 24; indent = g_new0 (gchar, indent_len + 1); memset (indent, ' ', indent_len); - n_print (" %s\"%s\"%s : %s%s%s%suser_function%s (%s%s%s* object%s", - PROP_NAME_COLOR, query->signal_name, RESET_COLOR, - DATATYPE_COLOR, g_type_name (query->return_type), PROP_VALUE_COLOR, - pmark, RESET_COLOR, DATATYPE_COLOR, g_type_name (type), - PROP_VALUE_COLOR, RESET_COLOR); + if (want_actions) { + n_print + (" %s\"%s\"%s -> %s%s%s %s: g_signal_emit_by_name%s (%selement%s, %s\"%s\"%s", + PROP_NAME_COLOR, query->signal_name, RESET_COLOR, DATATYPE_COLOR, + retval_type_name, PROP_VALUE_COLOR, pmark, + RESET_COLOR, PROP_VALUE_COLOR, RESET_COLOR, PROP_NAME_COLOR, + query->signal_name, RESET_COLOR); + } else { + n_print (" %s\"%s\"%s : %s%s%s%suser_function%s (%s%s%s * object%s", + PROP_NAME_COLOR, query->signal_name, RESET_COLOR, + DATATYPE_COLOR, retval_type_name, PROP_VALUE_COLOR, + pmark, RESET_COLOR, DATATYPE_COLOR, g_type_name (type), + PROP_VALUE_COLOR, RESET_COLOR); + } for (j = 0; j < query->n_params; j++) { - const gchar *type_name, *asterisk; + const gchar *type_name, *asterisk, *const_prefix; - type_name = g_type_name (query->param_types[j]); - asterisk = gtype_needs_ptr_marker (query->param_types[j]) ? "*" : ""; + type_name = pretty_type_name (query->param_types[j], &asterisk); + + /* Add const prefix for string and string array arguments */ + if (g_str_equal (type_name, "gchar") && strchr (asterisk, '*')) { + const_prefix = "const "; + } else { + const_prefix = ""; + } g_print (",\n"); - n_print ("%s%s%s%s%s arg%d%s", indent, DATATYPE_COLOR, type_name, - PROP_VALUE_COLOR, asterisk, j, RESET_COLOR); + n_print ("%s%s%s%s%s%sarg%d%s", indent, DATATYPE_COLOR, const_prefix, + type_name, PROP_VALUE_COLOR, asterisk, j, RESET_COLOR); } - if (k == 0) { + if (!want_actions) { g_print (",\n"); n_print ("%s%sgpointer %suser_data%s);\n", indent, DATATYPE_COLOR, PROP_VALUE_COLOR, RESET_COLOR); - } else - g_print (");\n"); - + } else if (query->return_type == G_TYPE_NONE) { + n_print ("%s);\n", RESET_COLOR); + } else { + g_print (",\n"); + n_print ("%s%s%s%s *%sp_return_value%s);\n", indent, DATATYPE_COLOR, + g_type_name (query->return_type), PROP_VALUE_COLOR, pmark, + RESET_COLOR); + } g_free (indent); + g_print ("\n"); } if (found_signals) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gstreamer-1.22.5/tools/gst-launch.c new/gstreamer-1.22.6/tools/gst-launch.c --- old/gstreamer-1.22.5/tools/gst-launch.c 2023-07-20 16:22:48.000000000 +0200 +++ new/gstreamer-1.22.6/tools/gst-launch.c 2023-09-20 19:10:57.000000000 +0200 @@ -56,7 +56,7 @@ extern volatile gboolean glib_on_error_halt; -#ifdef G_OS_UNIX +#if defined (G_OS_UNIX) && !defined (__APPLE__) static void fault_restore (void); static void fault_spin (void); #endif @@ -95,7 +95,7 @@ /* convenience macro so we don't have to litter the code with if(!quiet) */ #define PRINT if(!quiet)gst_print -#ifdef G_OS_UNIX +#if defined (G_OS_UNIX) && !defined (__APPLE__) static void fault_handler_sighandler (int signum) { @@ -161,7 +161,7 @@ sigaction (SIGSEGV, &action, NULL); sigaction (SIGQUIT, &action, NULL); } -#endif /* G_OS_UNIX */ +#endif /* G_OS_UNIX && !__APPLE__ */ #if 0 typedef struct _GstIndexStats @@ -1184,7 +1184,7 @@ gst_tools_print_version (); -#ifdef G_OS_UNIX +#if defined (G_OS_UNIX) && !defined (__APPLE__) if (!no_fault) fault_setup (); #endif ++++++ reduce-required-meson.patch ++++++ --- /var/tmp/diff_new_pack.Uk5y9c/_old 2023-09-29 21:13:31.321636461 +0200 +++ /var/tmp/diff_new_pack.Uk5y9c/_new 2023-09-29 21:13:31.325636605 +0200 @@ -1,10 +1,10 @@ Index: gstreamer-1.22.5/meson.build =================================================================== ---- gstreamer-1.22.5.orig/meson.build -+++ gstreamer-1.22.5/meson.build +--- gstreamer-1.22.6.orig/meson.build ++++ gstreamer-1.22.6/meson.build @@ -1,6 +1,6 @@ project('gstreamer', 'c', - version : '1.22.5', + version : '1.22.6', - meson_version : '>= 0.62', + meson_version : '>= 0.61', default_options : [ 'warning_level=1',
participants (1)
-
Source-Sync