Bjørn Lie
833fe97641
- Add upstream bugfix patches: + gst-base-playbin-handle-error.patch: playbin: Handle error message with redirection indication. + gst-base-audioencoder-fix-leak.patch: audioencoder: fix segment event leak. + gst-base-fft-update-kiss-version.patch: fft: Update our kiss fft version. OBS-URL: https://build.opensuse.org/request/show/761112 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-base?expand=0&rev=146
26 lines
879 B
Diff
26 lines
879 B
Diff
From c61767dc2f7f99e3de93aee09695a6a06202f619 Mon Sep 17 00:00:00 2001
|
|
From: Jonas Holmberg <jonashg@axis.com>
|
|
Date: Fri, 20 Dec 2019 13:35:53 +0100
|
|
Subject: [PATCH] audioencoder: fix segment event leak
|
|
|
|
Segment event was leaked if format != _TIME.
|
|
---
|
|
gst-libs/gst/audio/gstaudioencoder.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/gst-libs/gst/audio/gstaudioencoder.c b/gst-libs/gst/audio/gstaudioencoder.c
|
|
index c2f0382ae..031a40b7f 100644
|
|
--- a/gst-libs/gst/audio/gstaudioencoder.c
|
|
+++ b/gst-libs/gst/audio/gstaudioencoder.c
|
|
@@ -1551,6 +1551,7 @@ gst_audio_encoder_sink_event_default (GstAudioEncoder * enc, GstEvent * event)
|
|
GST_DEBUG_OBJECT (enc, "received SEGMENT %" GST_SEGMENT_FORMAT, &seg);
|
|
GST_DEBUG_OBJECT (enc, "unsupported format; ignoring");
|
|
res = TRUE;
|
|
+ gst_event_unref (event);
|
|
break;
|
|
}
|
|
|
|
--
|
|
2.24.1
|
|
|