From df1920ca5e4a573a41f205f843ddac2188818a51f2933a05ace59e0845396659 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 20 Dec 2024 16:05:09 +0100 Subject: [PATCH] Sync from SUSE:SLFO:Main gstreamer-plugins-base revision b32f1671b745fa2650e08dd0296b6397 --- add_wayland_dep_to_tests.patch | 8 +- gst-plugins-base-1.24.10.tar.xz | 3 + gst-plugins-base-1.24.7.tar.xz | 3 - ...decodebin3-collection-identity-check.patch | 67 --------------- gstreamer-plugins-base.changes | 83 +++++++++++++++++++ gstreamer-plugins-base.spec | 3 +- 6 files changed, 91 insertions(+), 76 deletions(-) create mode 100644 gst-plugins-base-1.24.10.tar.xz delete mode 100644 gst-plugins-base-1.24.7.tar.xz delete mode 100644 gst-plugins-base-decodebin3-collection-identity-check.patch diff --git a/add_wayland_dep_to_tests.patch b/add_wayland_dep_to_tests.patch index eeef689..1a328d8 100644 --- a/add_wayland_dep_to_tests.patch +++ b/add_wayland_dep_to_tests.patch @@ -1,8 +1,8 @@ -Index: gst-plugins-base-1.24.5/tests/check/meson.build +Index: gst-plugins-base-1.24.8/tests/check/meson.build =================================================================== ---- gst-plugins-base-1.24.5.orig/tests/check/meson.build -+++ gst-plugins-base-1.24.5/tests/check/meson.build -@@ -138,7 +138,7 @@ if build_gstgl +--- gst-plugins-base-1.24.8.orig/tests/check/meson.build ++++ gst-plugins-base-1.24.8/tests/check/meson.build +@@ -133,7 +133,7 @@ if build_gstgl test_defines += ['-DTEST_GST_GL_ABI_CHECK'] endif diff --git a/gst-plugins-base-1.24.10.tar.xz b/gst-plugins-base-1.24.10.tar.xz new file mode 100644 index 0000000..02d91dd --- /dev/null +++ b/gst-plugins-base-1.24.10.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ebd57b1be924c6e24f327dd55bab9d8fbaaebe5e1dc8fca784182ab2b12d23eb +size 2453672 diff --git a/gst-plugins-base-1.24.7.tar.xz b/gst-plugins-base-1.24.7.tar.xz deleted file mode 100644 index a7047af..0000000 --- a/gst-plugins-base-1.24.7.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1528d1746a393299f5ac17ebf13a32a660202f1e29d0a852a2250f6a059a2fda -size 2438084 diff --git a/gst-plugins-base-decodebin3-collection-identity-check.patch b/gst-plugins-base-decodebin3-collection-identity-check.patch deleted file mode 100644 index b4ddead..0000000 --- a/gst-plugins-base-decodebin3-collection-identity-check.patch +++ /dev/null @@ -1,67 +0,0 @@ -From 378e78f285a3f14c0c53473948090464fa48147b Mon Sep 17 00:00:00 2001 -From: Edward Hervey -Date: Wed, 21 Aug 2024 16:29:03 +0200 -Subject: [PATCH] decodebin3: Fix collection identity check - -Collections can be auto-generated from upstream and yet have exactly the same -streams in it. - -Therefore do a more in-depth check for equality. - -Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3742 ---- - .../gst/playback/gstdecodebin3.c | 26 ++++++++++++++++++- - 1 file changed, 25 insertions(+), 1 deletion(-) - -diff --git a/gst/playback/gstdecodebin3.c b/gst/playback/gstdecodebin3.c -index 56ef496468ac..78b79c776ba6 100644 ---- a/gst/playback/gstdecodebin3.c -+++ b/gst/playback/gstdecodebin3.c -@@ -2609,6 +2609,29 @@ db_collection_new (GstStreamCollection * collection) - return db_collection; - } - -+static gboolean -+collections_are_identical (GstStreamCollection * collection, -+ GstStreamCollection * previous) -+{ -+ guint i; -+ -+ if (collection == previous) -+ return TRUE; -+ -+ if (gst_stream_collection_get_size (collection) != -+ gst_stream_collection_get_size (previous)) -+ return FALSE; -+ -+ for (i = 0; i < gst_stream_collection_get_size (previous); i++) { -+ GstStream *stream = gst_stream_collection_get_stream (previous, i); -+ const gchar *sid = gst_stream_get_stream_id (stream); -+ if (!stream_in_collection (collection, (gchar *) sid)) -+ return FALSE; -+ } -+ -+ return TRUE; -+} -+ - /** handle_stream_collection_locked: - * @dbin: - * @collection: (transfer none): The new collection for @input. Can be %NULL. -@@ -2683,12 +2706,13 @@ handle_stream_collection_locked (GstDecodebin3 * dbin, - if (dbin->input_collection) { - GstStreamCollection *previous = dbin->input_collection->collection; - -- if (collection == previous) { -+ if (collections_are_identical (collection, previous)) { - GST_DEBUG_OBJECT (dbin, "Collection didn't change"); - gst_object_unref (collection); - SELECTION_UNLOCK (dbin); - return NULL; - } -+ - /* Check if this collection is an update of the previous one */ - if (gst_stream_collection_get_size (collection) > - gst_stream_collection_get_size (previous)) { --- -GitLab - diff --git a/gstreamer-plugins-base.changes b/gstreamer-plugins-base.changes index 433b05f..09b3244 100644 --- a/gstreamer-plugins-base.changes +++ b/gstreamer-plugins-base.changes @@ -1,3 +1,86 @@ +------------------------------------------------------------------- +Mon Dec 9 11:53:41 UTC 2024 - Bjørn Lie + +- Update to version 1.24.10: + + appsink: fix timeout logic for gst_app_sink_try_pull_sample(). + + appsrc: Fix use-after-free when making buffer / buffer-lists + writable. + + audiostreamalign: Don't report disconts for every buffer if + alignment-threshold is too small. + + decodebin3: Unify collection switching checks. + + discoverer: + - Don't print channel layout for more than 64 channels + (boo#1234453 CVE-2024-47600). + - Make sure the missing elements details array is + NULL-terminated in a thread-safe way. + - Fix segfault in race condition adding a new uri. + + id3v2: Don't try parsing extended header if not enough data is + available (boo#1234460 CVE-2024-47542). + + glupload: dmabuf: Fix emulated tiled import. + + gl: + - cocoa: fix rendering artifacts in retina displays. + - meson: Don't use libdrm_dep in cc.has_header(). + + oggstream: fix invalid ogg_packet->packet accesses, address + invalid writes CVE (boo#1234456 CVE-2024-47615). + + opusdec: Set at most 64 channels to NONE position. + + playbin: Fix caps leak in get_n_common_capsfeatures(). + + playbin3: ERROR when setting new HLS URI with instant-uri=true. + + sdp: Add debug categories for message and mikey modules. + + ssaparse: Search for closing brace after opening brace. + + splitmuxsrc: Convert part reader to a bin with a non-async bus. + + subparse: Check for NULL return of strchr() when parsing LRC + subtitles (boo#1234450 CVE-2024-47835). + + streamsynchronizer: Only send GAP events out of source pads. + + urisourcebin: Also use event probe for HLS use-cases. + + video-converter: Set TIME segment format on appsrc. + + vorbisdec: Set at most 64 channels to NONE position + (boo#1234415 CVE-2024-47538). + + Translation for gst-plugins-base 1.24.0 not sync-ed with + Translation Project. + + Updated translations. + +------------------------------------------------------------------- +Tue Nov 5 09:39:07 UTC 2024 - Bjørn Lie + +- Update to version 1.24.9: + + allocators: drmdumb: Fix bpp value for P010 + + audioconvert: fix dynamic handling of mix matrix, accept custom + upstream event for setting one + + decodebin3: + - Make update/posting of collection messages atomic + - Send selected stream message as long as not all the tracks + can't select decoders + + encodebasebin: Miscellaneous fixes + + exiftag: Check the result of gst_date_time_new_local_time(), + fixes criticals with malformed EXIF tags + + glcontext: egl: Unrestrict the support base DRM formats + + gldownload: use gst_gl_sync_meta_wait_cpu() + + gl: Fix configure error when libdrm is a subproject + + playback: Fix a variety of decodebin3/parsebin/urisourcebin + races + + playbin3: prevent crashing trying to play a corrupted mp4 file + (WARNING : HIGH PITCHED CORRUPTED SOUND) + + Revert "meson: Fix invalid include flag in uninstalled gl pc + file" + + urisourcebin: + - Allow more cases for posting stream-collection + - Ensure all stream-start are handled + + urisourcebin/parsebin: Improve collection creation and handling + +------------------------------------------------------------------- +Mon Sep 23 13:08:20 UTC 2024 - Bjørn Lie + +- Update to version 1.24.8: + + decodebin3: Fix collection identity check + + encodebin: Fix pad removal + + glimagesink: Fix cannot resize viewport when video size changed + in caps + + video: Don't overshoot QoS earliest time by a factor of 2 + + meson: gst-play: link to libm +- Drop gst-plugins-base-decodebin3-collection-identity-check.patch: + Fixed upstream. +- Rebase add_wayland_dep_to_tests.patch with quilt. + ------------------------------------------------------------------- Fri Aug 23 07:15:20 UTC 2024 - Bjørn Lie diff --git a/gstreamer-plugins-base.spec b/gstreamer-plugins-base.spec index c4cc441..0400369 100644 --- a/gstreamer-plugins-base.spec +++ b/gstreamer-plugins-base.spec @@ -20,7 +20,7 @@ %define gst_branch 1.0 %define gstreamer_req_version %(echo %{version} | sed -e "s/+.*//") Name: gstreamer-plugins-base -Version: 1.24.7 +Version: 1.24.10 Release: 0 Summary: GStreamer Streaming-Media Framework Plug-Ins License: GPL-2.0-or-later AND LGPL-2.1-or-later @@ -31,7 +31,6 @@ Source1: gstreamer-plugins-base.appdata.xml Source2: baselibs.conf Patch1: add_wayland_dep_to_tests.patch Patch2: MR-221-video-anc-add-two-new-CEA-608-caption-formats.patch -Patch3: gst-plugins-base-decodebin3-collection-identity-check.patch BuildRequires: Mesa-libGLESv3-devel BuildRequires: cdparanoia-devel