diff --git a/gst-plugins-base-audiobasesink-gap.patch b/gst-plugins-base-audiobasesink-gap.patch new file mode 100644 index 0000000..40748f1 --- /dev/null +++ b/gst-plugins-base-audiobasesink-gap.patch @@ -0,0 +1,20 @@ +diff --git a/gst-libs/gst/audio/gstaudiobasesink.c b/gst-libs/gst/audio/gstaudiobasesink.c +index 1f843ac..891941d 100644 +--- a/gst-libs/gst/audio/gstaudiobasesink.c ++++ b/gst-libs/gst/audio/gstaudiobasesink.c +@@ -1124,15 +1124,6 @@ gst_audio_base_sink_wait_event (GstBaseSink * bsink, GstEvent * event) + /* Make sure the ringbuffer will start again if interrupted during event_wait() */ + g_atomic_int_set (&sink->eos_rendering, 1); + clear_force_start_flag = TRUE; +- +- /* For gap events, don't actually wait for the clock to +- * reach that time, or it will drain the ringbuffer, just +- * ensure we're prerolled and let the next actual buffer +- * get rendered where it belongs */ +- if (GST_EVENT_TYPE (event) == GST_EVENT_GAP) { +- ret = gst_base_sink_do_preroll (bsink, GST_MINI_OBJECT_CAST (event)); +- goto done; +- } + break; + default: + break; diff --git a/gstreamer-plugins-base.changes b/gstreamer-plugins-base.changes index a296e9a..e27c5c5 100644 --- a/gstreamer-plugins-base.changes +++ b/gstreamer-plugins-base.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Mar 5 01:07:27 UTC 2024 - Jonas Kvinge + +- Add gst-plugins-base-audiobasesink-gap.patch: + Revert a gap change causing EOS, affecting strawberry playback + causing playback to stop when using mute or fading features. + Upstream issue: + https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3303 + ------------------------------------------------------------------- Thu Feb 1 10:55:30 UTC 2024 - Antonio Larrosa diff --git a/gstreamer-plugins-base.spec b/gstreamer-plugins-base.spec index 62c2887..b4ba36c 100644 --- a/gstreamer-plugins-base.spec +++ b/gstreamer-plugins-base.spec @@ -33,6 +33,8 @@ Source2: baselibs.conf Patch4: add_wayland_dep_to_tests.patch Patch5: MR-221-video-anc-add-two-new-CEA-608-caption-formats.patch Patch6: reduce-required-meson.patch +# https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3303 +Patch7: gst-plugins-base-audiobasesink-gap.patch BuildRequires: Mesa-libGLESv3-devel BuildRequires: cdparanoia-devel