forked from pool/gstreamer-plugins-base
- 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 OBS-URL: https://build.opensuse.org/request/show/1154934 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-base?expand=0&rev=216
21 lines
923 B
Diff
21 lines
923 B
Diff
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;
|