Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gstreamer-plugins-base for openSUSE:Factory checked in at 2024-01-05 21:40:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gstreamer-plugins-base (Old) and /work/SRC/openSUSE:Factory/.gstreamer-plugins-base.new.28375 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gstreamer-plugins-base" Fri Jan 5 21:40:04 2024 rev:100 rq:1136820 version:1.22.8 Changes: -------- --- /work/SRC/openSUSE:Factory/gstreamer-plugins-base/gstreamer-plugins-base.changes 2023-11-29 21:19:01.705406278 +0100 +++ /work/SRC/openSUSE:Factory/.gstreamer-plugins-base.new.28375/gstreamer-plugins-base.changes 2024-01-05 21:40:11.727608249 +0100 @@ -1,0 +2,13 @@ +Thu Jan 4 07:53:18 UTC 2024 - Antonio Larrosa <alarr...@suse.com> + +- Update to version 1.22.8: + + appsrc: Fix flow return when buffer is dropped + + audioringbuffer: Don't try to map MONO channel + + encoding-target: Properly free when missing type field in + parse_encoding_profile + + pbutils: Don't include default vp9 parameters in resulting + codec mime string + + videorate: Don't forget last_ts on caps changes +- Rebase reduce-required-meson.patch + +------------------------------------------------------------------- Old: ---- gst-plugins-base-1.22.7.tar.xz New: ---- gst-plugins-base-1.22.8.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gstreamer-plugins-base.spec ++++++ --- /var/tmp/diff_new_pack.vo1hP4/_old 2024-01-05 21:40:12.939652567 +0100 +++ /var/tmp/diff_new_pack.vo1hP4/_new 2024-01-05 21:40:12.939652567 +0100 @@ -1,7 +1,7 @@ # # spec file for package gstreamer-plugins-base # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ %define gst_branch 1.0 %define gstreamer_req_version %(echo %{version} | sed -e "s/+.*//") Name: gstreamer-plugins-base -Version: 1.22.7 +Version: 1.22.8 Release: 0 Summary: GStreamer Streaming-Media Framework Plug-Ins License: GPL-2.0-or-later AND LGPL-2.1-or-later ++++++ gst-plugins-base-1.22.7.tar.xz -> gst-plugins-base-1.22.8.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-plugins-base-1.22.7/ChangeLog new/gst-plugins-base-1.22.8/ChangeLog --- old/gst-plugins-base-1.22.7/ChangeLog 2023-11-13 12:06:20.530669700 +0100 +++ new/gst-plugins-base-1.22.8/ChangeLog 2023-12-18 13:11:33.381622600 +0100 @@ -1,3 +1,73 @@ +=== release 1.22.8 === + +2023-12-18 12:09:37 +0000 Tim-Philipp Müller <t...@centricular.com> + + * NEWS: + * RELEASE: + * gst-plugins-base.doap: + * meson.build: + Release 1.22.8 + +2023-11-27 09:01:38 -0500 Doug Nazar <naz...@nazar.ca> + + * gst-libs/gst/audio/gstaudioringbuffer.c: + audioringbuffer: Don't try to map MONO channel + Avoids critical message: + gstaudioringbuffer.c: line 2155 (gst_audio_ring_buffer_set_channel_positions): + should not be reached + Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5793> + +2023-12-02 00:32:31 +0900 Seungha Yang <seun...@centricular.com> + + * gst-libs/gst/app/gstappsrc.c: + * tests/check/elements/appsrc.c: + appsrc: Fix flow return when buffer is dropped + Flow EOS on buffer drop (upstream leaky mode) was not + intended behavior. Appsrc should return OK instead. + Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5755> + +2023-12-01 18:46:35 +0900 Jimmy Ohn <yongjin....@lge.com> + + * gst/playback/gstdecodebin2.c: + decodebin2: Properly free when shutting down in gst_decode_bin_expose + missing_plugin_details causes memory leakages when shutting down. + Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5750> + +2023-12-01 17:55:28 +0900 Jimmy Ohn <yongjin....@lge.com> + + * gst-libs/gst/pbutils/encoding-target.c: + encoding-target: Properly free when missing type field in parse_encoding_profile + pname and description in parse_encoding_profile function causes + memory leakages when missing the 'type' field for streamprofile. + Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5750> + +2023-11-27 10:36:01 +0000 Philippe Normand <ph...@igalia.com> + + * gst-libs/gst/pbutils/codec-utils.c: + * tests/check/libs/pbutils.c: + pbutils: Don't include default vp9 parameters in resulting codec mime string + According to the document defining the vp9 codec string, the optional fields + should all be present only if at least one of them has a non-default value. + Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5719> + +2023-11-17 10:48:21 -0500 Nicolas Dufresne <nicolas.dufre...@collabora.com> + + * gst/videorate/gstvideorate.c: + videorate: Don't forget last_ts on caps changes + Whenever that caps changes does not imply that a new segment will start. + Don't reset the last_ts if only the caps have changed. This fixes issues + if you have a stream without only first frame with TS=0, and have resolution + change happening. This was a regression introduced by !3059, which issue was + described in #1352. The reported issue is still fix after this change. + Fixes #1034 + Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5712> + +2023-11-13 14:57:09 +0000 Tim-Philipp Müller <t...@centricular.com> + + * meson.build: + Back to development + Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5650> + === release 1.22.7 === 2023-11-13 11:04:22 +0000 Tim-Philipp Müller <t...@centricular.com> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-plugins-base-1.22.7/NEWS new/gst-plugins-base-1.22.8/NEWS --- old/gst-plugins-base-1.22.7/NEWS 2023-11-13 12:04:22.000000000 +0100 +++ new/gst-plugins-base-1.22.8/NEWS 2023-12-18 13:09:37.000000000 +0100 @@ -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.7 and was -released on 13 November 2023. +The latest bug-fix release in the stable 1.22 series is 1.22.8 and was +released on 18 December 2023. See https://gstreamer.freedesktop.org/releases/1.22/ for the latest version of this document. -Last updated: Monday 13 November 2023, 10:00 UTC (log) +Last updated: Monday 18 December 2023, 11:00 UTC (log) Introduction @@ -2582,6 +2582,160 @@ - List of Merge Requests applied in 1.22.7 - List of Issues fixed in 1.22.7 +1.22.8 + +The eight 1.22 bug-fix release (1.22.8) was released on 18 December +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.8 + +- Security fixes for the AV1 video codec parser +- avdec video decoder: fix another possible deadlock with FFmpeg 6.1 +- qtdemux: reverse playback and seeking fixes for files with raw audio + streams +- v4l2: fix ânewly allocated buffer ⦠is not freeâ warning log flood +- GstPlay + GstPlayer library fixes +- dtls: Fix build failure on Windows when compiling against OpenSSL + 3.2.0 +- d3d11screencapturesrc: Fix wrong color with HDR enabled +- Cerbero build tool: More python 3.12 string escape warning fixes; + make sure to bundle build tools as well +- various bug fixes, build fixes, memory leak fixes, and other + stability and reliability improvements + +gstreamer + +- buffer: Unref memories before metas +- pad: Recheck pads when linking after temporary unlock +- baseparse: Fixes to buffers extracted from adapter + +gst-plugins-base + +- appsrc: Fix flow return when buffer is dropped +- audioringbuffer: Donât try to map MONO channel +- encoding-target: Properly free when missing type field in + parse_encoding_profile +- pbutils: Donât include default vp9 parameters in resulting codec + mime string +- videorate: Donât forget last_ts on caps changes + +gst-plugins-good + +- dcaparse: keep upstream buffer meta +- rtpklvdepay: Recover after invalid fragmented KLV unit +- matroska-demux: fix accumulated base offset in segment seeks +- qtdemux: fix bug report URL +- qtdemux: Donât overflow sample index +- qtdemux: Fix reverse playback for pcm audio stream +- qtdemux: Ignore raw audio streams when adjusting seek +- qtdemux: Under-seeking to a key unit in certain (encoded by Adobe + products) ProRes movies (macOS x86_64 & arm64, Windows x86_64, â¦) +- rtpac3depay: should output audio/x-ac3 not audio/ac3 +- rtp: Fix incorrect RTP channel order lookup by name +- v4l2bufferpool: add lock as atomic operation for seek + +gst-plugins-bad + +- aesenc: Fix IV length addition to output buffer length +- av1parser: Fix array sizes in scalability structure +- camerabin: Fix source updates with user filters +- codecparsers: av1: Clip max tile rows and cols values +- dtlscertificate: Define WINSOCKAPI before including windows.h +- d3d11: fix building with address sanitizer +- d3d11screencapturesrc: Fix wrong color with HDR enabled +- h264decoder: Fix GstVideoCodecFrame leak +- ladspa: Make RDF parsing truly optional +- rtponviftimestamp: Fix drop-out-of-segment=false mode +- qsvdecoder: Fix stream format detection +- webrtcsdp: Remove fingerprint validation that doesnât make sense +- GstPlay: Automatically flush the bus when disposing the signal + adapter +- GstPlayer: Without dispatcher emit signals directly instead of via + the default main context + +gst-plugins-ugly + +- No changes + +gst-plugins-rs + +- threadshare: Fix a deadlock in used-socket notification +- threadshare: Fix a typo while logging +- webrtcsink: donât panic on failure to request pad from webrtcbin +- ndi: Remove wrong Clone impl on RecvInstance +- ndi: Donât mark private type as public +- fallbacksrc: Fix timeout scheduling + +gst-libav + +- avviddec: Unlock stream lock while waiting for decoded frame. Fixes + potential deadlock +- avviddec: Calculate latency only for fixed framerate + +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 + +- No changes + +gst-examples + +- No changes + +Development build environment + +- No changes + +Cerbero build tool and packaging changes in 1.22.8 + +- cerbero: Fix some more python 3.12 string escape warnings +- cerbero: Fix bundle-source not including build-tools recipes, fix + CalledProcessError handling +- pango: Add Perl interpreter consistency check + +Contributors to 1.22.8 + +Alessandro Bono, Alexander Slobodeniuk, Arun Raghavan, Benjamin +Gaignard, Daniel Moberg, Dongyun Seo, Doug Nazar, Guillaume Desmottes, +Hosang Lee, Jan Alexander Steffens (heftig), jeri.li, Jimmy Ohn, L. E. +Segovia, Mathieu Duponchelle, Nicolas Dufresne, Nirbheek Chauhan, +Olivier Crête, Philippe Normand, Piotr BrzeziÅski, Rabindra Harlalka, +Robert Mader, Robin Gustavsson, Sebastian Dröge, Seungha Yang, Stefan +Brüns, Tim-Philipp Müller, Xavier Claessens, + +⦠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.8 + +- List of Merge Requests applied in 1.22.8 +- List of Issues fixed in 1.22.8 + 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-plugins-base-1.22.7/RELEASE new/gst-plugins-base-1.22.8/RELEASE --- old/gst-plugins-base-1.22.7/RELEASE 2023-11-13 12:04:22.000000000 +0100 +++ new/gst-plugins-base-1.22.8/RELEASE 2023-12-18 13:09:37.000000000 +0100 @@ -1,4 +1,4 @@ -This is GStreamer gst-plugins-base 1.22.7. +This is GStreamer gst-plugins-base 1.22.8. 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-plugins-base-1.22.7/gst/playback/gstdecodebin2.c new/gst-plugins-base-1.22.8/gst/playback/gstdecodebin2.c --- old/gst-plugins-base-1.22.7/gst/playback/gstdecodebin2.c 2023-11-13 12:04:22.000000000 +0100 +++ new/gst-plugins-base-1.22.8/gst/playback/gstdecodebin2.c 2023-12-18 13:09:37.000000000 +0100 @@ -4675,6 +4675,7 @@ if (G_UNLIKELY (dbin->shutdown)) { GST_WARNING_OBJECT (dbin, "Currently, shutting down, aborting exposing"); DYN_UNLOCK (dbin); + g_string_free (missing_plugin_details, TRUE); return FALSE; } DYN_UNLOCK (dbin); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-plugins-base-1.22.7/gst/videorate/gstvideorate.c new/gst-plugins-base-1.22.8/gst/videorate/gstvideorate.c --- old/gst-plugins-base-1.22.7/gst/videorate/gstvideorate.c 2023-11-13 12:04:22.000000000 +0100 +++ new/gst-plugins-base-1.22.8/gst/videorate/gstvideorate.c 2023-12-18 13:09:37.000000000 +0100 @@ -1650,7 +1650,6 @@ " after receiving caps"); gst_video_rate_swap_prev (videorate, NULL, GST_CLOCK_TIME_NONE); gst_clear_caps (&videorate->prev_caps); - videorate->last_ts = GST_CLOCK_TIME_NONE; videorate->average = 0; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-plugins-base-1.22.7/gst-libs/gst/app/gstappsrc.c new/gst-plugins-base-1.22.8/gst-libs/gst/app/gstappsrc.c --- old/gst-plugins-base-1.22.7/gst-libs/gst/app/gstappsrc.c 2023-11-13 12:04:22.000000000 +0100 +++ new/gst-plugins-base-1.22.8/gst-libs/gst/app/gstappsrc.c 2023-12-18 13:09:37.000000000 +0100 @@ -2732,7 +2732,7 @@ gst_buffer_unref (buffer); } g_mutex_unlock (&priv->mutex); - return GST_FLOW_EOS; + return GST_FLOW_OK; } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-plugins-base-1.22.7/gst-libs/gst/audio/gstaudioringbuffer.c new/gst-plugins-base-1.22.8/gst-libs/gst/audio/gstaudioringbuffer.c --- old/gst-plugins-base-1.22.7/gst-libs/gst/audio/gstaudioringbuffer.c 2023-11-13 12:04:22.000000000 +0100 +++ new/gst-plugins-base-1.22.8/gst-libs/gst/audio/gstaudioringbuffer.c 2023-12-18 13:09:37.000000000 +0100 @@ -2086,6 +2086,11 @@ if (memcmp (position, to, channels * sizeof (to[0])) == 0) return; + if (channels == 1) { + GST_LOG_OBJECT (buf, "single channel, no need to reorder"); + return; + } + if (position_less_channels (position, channels)) { GST_LOG_OBJECT (buf, "position-less channels, no need to reorder"); return; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-plugins-base-1.22.7/gst-libs/gst/pbutils/codec-utils.c new/gst-plugins-base-1.22.8/gst-libs/gst/pbutils/codec-utils.c --- old/gst-plugins-base-1.22.7/gst-libs/gst/pbutils/codec-utils.c 2023-11-13 12:04:22.000000000 +0100 +++ new/gst-plugins-base-1.22.8/gst-libs/gst/pbutils/codec-utils.c 2023-12-18 13:09:37.000000000 +0100 @@ -2471,7 +2471,8 @@ GstStructure *caps_st; const char *profile_str, *chroma_format_str, *colorimetry_str; guint bitdepth_luma, bitdepth_chroma; - guint8 profile = -1, chroma_format = -1, level = -1; + guint8 profile = -1, chroma_format = -1, level = -1, color_primaries = + -1, color_transfer = -1, color_matrix = -1; gboolean video_full_range; GstVideoColorimetry cinfo = { 0, }; GString *codec_string; @@ -2539,11 +2540,16 @@ goto done; } - /* optional but all or nothing */ - g_string_append_printf (codec_string, ".%02u.%02u.%02u.%02u.%02u", - chroma_format, gst_video_color_primaries_to_iso (cinfo.primaries), - gst_video_transfer_function_to_iso (cinfo.transfer), - gst_video_color_matrix_to_iso (cinfo.matrix), video_full_range); + /* optional but all or nothing. Include them if any parameter differs from the default value */ + color_primaries = gst_video_color_primaries_to_iso (cinfo.primaries); + color_transfer = gst_video_transfer_function_to_iso (cinfo.transfer); + color_matrix = gst_video_color_matrix_to_iso (cinfo.matrix); + if (chroma_format != 1 || color_primaries != 1 || color_transfer != 1 + || color_matrix != 1 || video_full_range) { + g_string_append_printf (codec_string, ".%02u.%02u.%02u.%02u.%02u", + chroma_format, color_primaries, color_transfer, color_matrix, + video_full_range); + } done: return g_string_free (codec_string, FALSE); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-plugins-base-1.22.7/gst-libs/gst/pbutils/encoding-target.c new/gst-plugins-base-1.22.8/gst-libs/gst/pbutils/encoding-target.c --- old/gst-plugins-base-1.22.7/gst-libs/gst/pbutils/encoding-target.c 2023-11-13 12:04:22.000000000 +0100 +++ new/gst-plugins-base-1.22.8/gst-libs/gst/pbutils/encoding-target.c 2023-12-18 13:09:37.000000000 +0100 @@ -640,6 +640,8 @@ proftype = g_key_file_get_value (in, profilename, "type", NULL); if (!proftype) { GST_WARNING ("Missing 'type' field for streamprofile %s", profilename); + g_free (pname); + g_free (description); return NULL; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-plugins-base-1.22.7/gst-plugins-base.doap new/gst-plugins-base-1.22.8/gst-plugins-base.doap --- old/gst-plugins-base-1.22.7/gst-plugins-base.doap 2023-11-13 12:04:22.000000000 +0100 +++ new/gst-plugins-base-1.22.8/gst-plugins-base.doap 2023-12-18 13:09:37.000000000 +0100 @@ -36,6 +36,16 @@ <release> <Version> + <revision>1.22.8</revision> + <branch>1.22</branch> + <name></name> + <created>2023-12-18</created> + <file-release rdf:resource="https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.22.8.tar.xz" /> + </Version> + </release> + + <release> + <Version> <revision>1.22.7</revision> <branch>1.22</branch> <name></name> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-plugins-base-1.22.7/meson.build new/gst-plugins-base-1.22.8/meson.build --- old/gst-plugins-base-1.22.7/meson.build 2023-11-13 12:04:22.000000000 +0100 +++ new/gst-plugins-base-1.22.8/meson.build 2023-12-18 13:09:37.000000000 +0100 @@ -1,5 +1,5 @@ project('gst-plugins-base', 'c', - version : '1.22.7', + version : '1.22.8', meson_version : '>= 0.62', default_options : [ 'warning_level=1', 'buildtype=debugoptimized' ]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-plugins-base-1.22.7/po/gst-plugins-base-1.0.pot new/gst-plugins-base-1.22.8/po/gst-plugins-base-1.0.pot --- old/gst-plugins-base-1.22.7/po/gst-plugins-base-1.0.pot 2023-11-13 12:06:20.134663800 +0100 +++ new/gst-plugins-base-1.22.8/po/gst-plugins-base-1.0.pot 2023-12-18 13:11:32.965616700 +0100 @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: gst-plugins-base-1.22.7\n" +"Project-Id-Version: gst-plugins-base-1.22.8\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-13 11:06+0000\n" +"POT-Creation-Date: 2023-12-18 12:11+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <l...@li.org>\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-plugins-base-1.22.7/po/gst-plugins-base.pot new/gst-plugins-base-1.22.8/po/gst-plugins-base.pot --- old/gst-plugins-base-1.22.7/po/gst-plugins-base.pot 2023-11-13 12:06:20.134663800 +0100 +++ new/gst-plugins-base-1.22.8/po/gst-plugins-base.pot 2023-12-18 13:11:32.965616700 +0100 @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: gst-plugins-base-1.22.7\n" +"Project-Id-Version: gst-plugins-base-1.22.8\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-11-13 11:06+0000\n" +"POT-Creation-Date: 2023-12-18 12:11+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <l...@li.org>\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-plugins-base-1.22.7/tests/check/elements/appsrc.c new/gst-plugins-base-1.22.8/tests/check/elements/appsrc.c --- old/gst-plugins-base-1.22.7/tests/check/elements/appsrc.c 2023-11-13 12:04:22.000000000 +0100 +++ new/gst-plugins-base-1.22.8/tests/check/elements/appsrc.c 2023-12-18 13:09:37.000000000 +0100 @@ -1075,6 +1075,7 @@ GstBuffer *buffer; gulong probe_id; guint64 current_level; + GstFlowReturn ret; /* Test if the bytes limit works correctly with both leaky types */ h = gst_harness_new ("appsrc"); @@ -1096,7 +1097,8 @@ buffer = gst_buffer_new_and_alloc (100); GST_BUFFER_PTS (buffer) = 0 * GST_SECOND; - gst_app_src_push_buffer (GST_APP_SRC (h->element), buffer); + ret = gst_app_src_push_buffer (GST_APP_SRC (h->element), buffer); + fail_unless_equals_int (ret, GST_FLOW_OK); /* wait until the appsrc is blocked downstream */ while (!gst_pad_is_blocking (srcpad)) @@ -1104,10 +1106,12 @@ buffer = gst_buffer_new_and_alloc (100); GST_BUFFER_PTS (buffer) = 1 * GST_SECOND; - gst_app_src_push_buffer (GST_APP_SRC (h->element), buffer); + ret = gst_app_src_push_buffer (GST_APP_SRC (h->element), buffer); + fail_unless_equals_int (ret, GST_FLOW_OK); buffer = gst_buffer_new_and_alloc (100); GST_BUFFER_PTS (buffer) = 2 * GST_SECOND; - gst_app_src_push_buffer (GST_APP_SRC (h->element), buffer); + ret = gst_app_src_push_buffer (GST_APP_SRC (h->element), buffer); + fail_unless_equals_int (ret, GST_FLOW_OK); /* The first buffer is not queued anymore but inside the pad probe */ g_object_get (h->element, "current-level-bytes", ¤t_level, NULL); @@ -1119,7 +1123,8 @@ buffer = gst_buffer_new_and_alloc (100); GST_BUFFER_PTS (buffer) = 4 * GST_SECOND; - gst_app_src_push_buffer (GST_APP_SRC (h->element), buffer); + ret = gst_app_src_push_buffer (GST_APP_SRC (h->element), buffer); + fail_unless_equals_int (ret, GST_FLOW_OK); /* The new buffer was dropped now, otherwise we would have 2 seconds queued */ g_object_get (h->element, "current-level-bytes", ¤t_level, NULL); @@ -1133,7 +1138,8 @@ buffer = gst_buffer_new_and_alloc (100); GST_BUFFER_PTS (buffer) = 4 * GST_SECOND; - gst_app_src_push_buffer (GST_APP_SRC (h->element), buffer); + ret = gst_app_src_push_buffer (GST_APP_SRC (h->element), buffer); + fail_unless_equals_int (ret, GST_FLOW_OK); /* The oldest buffer was dropped now, otherwise we would have only 1 second queued */ g_object_get (h->element, "current-level-bytes", ¤t_level, NULL); @@ -1191,7 +1197,8 @@ buffer = gst_buffer_new_and_alloc (100); GST_BUFFER_PTS (buffer) = 0 * GST_SECOND; - gst_app_src_push_buffer (GST_APP_SRC (h->element), buffer); + ret = gst_app_src_push_buffer (GST_APP_SRC (h->element), buffer); + fail_unless_equals_int (ret, GST_FLOW_OK); /* wait until the appsrc is blocked downstream */ while (!gst_pad_is_blocking (srcpad)) @@ -1199,10 +1206,12 @@ buffer = gst_buffer_new_and_alloc (100); GST_BUFFER_PTS (buffer) = 1 * GST_SECOND; - gst_app_src_push_buffer (GST_APP_SRC (h->element), buffer); + ret = gst_app_src_push_buffer (GST_APP_SRC (h->element), buffer); + fail_unless_equals_int (ret, GST_FLOW_OK); buffer = gst_buffer_new_and_alloc (100); GST_BUFFER_PTS (buffer) = 2 * GST_SECOND; - gst_app_src_push_buffer (GST_APP_SRC (h->element), buffer); + ret = gst_app_src_push_buffer (GST_APP_SRC (h->element), buffer); + fail_unless_equals_int (ret, GST_FLOW_OK); /* The first buffer is not queued anymore but inside the pad probe */ g_object_get (h->element, "current-level-bytes", ¤t_level, NULL); @@ -1214,7 +1223,8 @@ buffer = gst_buffer_new_and_alloc (100); GST_BUFFER_PTS (buffer) = 4 * GST_SECOND; - gst_app_src_push_buffer (GST_APP_SRC (h->element), buffer); + ret = gst_app_src_push_buffer (GST_APP_SRC (h->element), buffer); + fail_unless_equals_int (ret, GST_FLOW_OK); /* The new buffer was dropped now, otherwise we would have 2 seconds queued */ g_object_get (h->element, "current-level-bytes", ¤t_level, NULL); @@ -1228,7 +1238,8 @@ buffer = gst_buffer_new_and_alloc (100); GST_BUFFER_PTS (buffer) = 4 * GST_SECOND; - gst_app_src_push_buffer (GST_APP_SRC (h->element), buffer); + ret = gst_app_src_push_buffer (GST_APP_SRC (h->element), buffer); + fail_unless_equals_int (ret, GST_FLOW_OK); /* The oldest buffer was dropped now, otherwise we would have only 1 second queued */ g_object_get (h->element, "current-level-bytes", ¤t_level, NULL); @@ -1287,7 +1298,8 @@ buffer = gst_buffer_new_and_alloc (100); GST_BUFFER_PTS (buffer) = 0 * GST_SECOND; GST_BUFFER_DURATION (buffer) = GST_SECOND; - gst_app_src_push_buffer (GST_APP_SRC (h->element), buffer); + ret = gst_app_src_push_buffer (GST_APP_SRC (h->element), buffer); + fail_unless_equals_int (ret, GST_FLOW_OK); /* wait until the appsrc is blocked downstream */ while (!gst_pad_is_blocking (srcpad)) @@ -1296,11 +1308,13 @@ buffer = gst_buffer_new_and_alloc (100); GST_BUFFER_PTS (buffer) = 1 * GST_SECOND; GST_BUFFER_DURATION (buffer) = GST_SECOND; - gst_app_src_push_buffer (GST_APP_SRC (h->element), buffer); + ret = gst_app_src_push_buffer (GST_APP_SRC (h->element), buffer); + fail_unless_equals_int (ret, GST_FLOW_OK); buffer = gst_buffer_new_and_alloc (100); GST_BUFFER_PTS (buffer) = 2 * GST_SECOND; GST_BUFFER_DURATION (buffer) = GST_SECOND; - gst_app_src_push_buffer (GST_APP_SRC (h->element), buffer); + ret = gst_app_src_push_buffer (GST_APP_SRC (h->element), buffer); + fail_unless_equals_int (ret, GST_FLOW_OK); /* The first buffer is not queued anymore but inside the pad probe */ g_object_get (h->element, "current-level-bytes", ¤t_level, NULL); @@ -1313,7 +1327,8 @@ buffer = gst_buffer_new_and_alloc (100); GST_BUFFER_PTS (buffer) = 4 * GST_SECOND; GST_BUFFER_DURATION (buffer) = GST_SECOND; - gst_app_src_push_buffer (GST_APP_SRC (h->element), buffer); + ret = gst_app_src_push_buffer (GST_APP_SRC (h->element), buffer); + fail_unless_equals_int (ret, GST_FLOW_OK); /* The new buffer was dropped now, otherwise we would have more than 2 seconds queued */ g_object_get (h->element, "current-level-bytes", ¤t_level, NULL); @@ -1328,7 +1343,8 @@ buffer = gst_buffer_new_and_alloc (100); GST_BUFFER_PTS (buffer) = 4 * GST_SECOND; GST_BUFFER_DURATION (buffer) = GST_SECOND; - gst_app_src_push_buffer (GST_APP_SRC (h->element), buffer); + ret = gst_app_src_push_buffer (GST_APP_SRC (h->element), buffer); + fail_unless_equals_int (ret, GST_FLOW_OK); /* The oldest buffer was dropped now, otherwise we would have only 1 second queued */ g_object_get (h->element, "current-level-bytes", ¤t_level, NULL); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-plugins-base-1.22.7/tests/check/libs/pbutils.c new/gst-plugins-base-1.22.8/tests/check/libs/pbutils.c --- old/gst-plugins-base-1.22.7/tests/check/libs/pbutils.c 2023-11-13 12:04:22.000000000 +0100 +++ new/gst-plugins-base-1.22.8/tests/check/libs/pbutils.c 2023-12-18 13:09:37.000000000 +0100 @@ -1495,6 +1495,28 @@ g_free (mime_codec); gst_caps_unref (caps); + /* vp9 with default chroma subsampling, color primaries, color transfer, color + * matrix and luma/chroma encoded in the "legal" range*/ + caps = + gst_caps_from_string + ("video/x-vp9, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, colorimetry=(string)bt709, alignment=(string)super-frame, profile=(string)0, codec-alpha=(boolean)false"); + mime_codec = gst_codec_utils_caps_get_mime_codec (caps); + fail_unless_equals_string (mime_codec, "vp09.00.10.08"); + g_free (mime_codec); + gst_caps_unref (caps); + + /* vp9 with non-default chroma subsampling */ + caps = gst_caps_from_string ("video/x-vp9, width=(int)640, height=(int)480, " + "pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, " + "chroma-format=(string)4:2:2, bit-depth-luma=(uint)8, " + "bit-depth-chroma=(uint)8, colorimetry=(string)bt709, " + "alignment=(string)super-frame, profile=(string)0, " + "codec-alpha=(boolean)false"); + mime_codec = gst_codec_utils_caps_get_mime_codec (caps); + fail_unless_equals_string (mime_codec, "vp09.00.10.08.02.01.01.01.00"); + g_free (mime_codec); + gst_caps_unref (caps); + /* mjpeg */ caps = gst_caps_new_empty_simple ("image/jpeg"); mime_codec = gst_codec_utils_caps_get_mime_codec (caps); ++++++ reduce-required-meson.patch ++++++ --- /var/tmp/diff_new_pack.vo1hP4/_old 2024-01-05 21:40:13.715680942 +0100 +++ /var/tmp/diff_new_pack.vo1hP4/_new 2024-01-05 21:40:13.715680942 +0100 @@ -1,10 +1,10 @@ -Index: gst-plugins-base-1.22.7/meson.build +Index: gst-plugins-base-1.22.8/meson.build =================================================================== ---- gst-plugins-base-1.22.7.orig/meson.build -+++ gst-plugins-base-1.22.7/meson.build +--- gst-plugins-base-1.22.8.orig/meson.build ++++ gst-plugins-base-1.22.8/meson.build @@ -1,6 +1,6 @@ project('gst-plugins-base', 'c', - version : '1.22.7', + version : '1.22.8', - meson_version : '>= 0.62', + meson_version : '>= 0.61', default_options : [ 'warning_level=1',