Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package gstreamer-rtsp-server for
openSUSE:Factory checked in at 2022-10-25 11:19:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gstreamer-rtsp-server (Old)
and /work/SRC/openSUSE:Factory/.gstreamer-rtsp-server.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gstreamer-rtsp-server"
Tue Oct 25 11:19:26 2022 rev:37 rq:1030669 version:1.20.4
Changes:
--------
---
/work/SRC/openSUSE:Factory/gstreamer-rtsp-server/gstreamer-rtsp-server.changes
2022-06-24 09:45:19.633677728 +0200
+++
/work/SRC/openSUSE:Factory/.gstreamer-rtsp-server.new.2275/gstreamer-rtsp-server.changes
2022-10-25 11:19:27.674064013 +0200
@@ -1,0 +2,8 @@
+Sat Oct 22 09:10:27 UTC 2022 - Bj??rn Lie <[email protected]>
+
+- Update to version 1.20.4:
+ + gst-rtsp-server: Fix pushing backlog to client.
+ + rtsp-server: stream: Don't loop forever if binding to the
+ multicast address fails.
+
+-------------------------------------------------------------------
Old:
----
gst-rtsp-server-1.20.3.tar.xz
New:
----
gst-rtsp-server-1.20.4.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gstreamer-rtsp-server.spec ++++++
--- /var/tmp/diff_new_pack.zsXWGp/_old 2022-10-25 11:19:28.158065086 +0200
+++ /var/tmp/diff_new_pack.zsXWGp/_new 2022-10-25 11:19:28.166065104 +0200
@@ -20,7 +20,7 @@
%define _name gst-rtsp-server
Name: gstreamer-rtsp-server
-Version: 1.20.3
+Version: 1.20.4
Release: 0
Summary: GStreamer-based RTSP server library
License: LGPL-2.0-or-later
++++++ gst-rtsp-server-1.20.3.tar.xz -> gst-rtsp-server-1.20.4.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gst-rtsp-server-1.20.3/ChangeLog
new/gst-rtsp-server-1.20.4/ChangeLog
--- old/gst-rtsp-server-1.20.3/ChangeLog 2022-06-16 00:36:22.000000000
+0200
+++ new/gst-rtsp-server-1.20.4/ChangeLog 2022-10-12 17:39:51.000000000
+0200
@@ -1,7 +1,85 @@
+=== release 1.20.4 ===
+
+2022-10-12 16:39:47 +0100 Tim-Philipp M??ller <[email protected]>
+
+ * NEWS:
+ * RELEASE:
+ * docs/gst_plugins_cache.json:
+ * gst-rtsp-server.doap:
+ * meson.build:
+ Release 1.20.4
+
+2022-10-12 16:39:40 +0100 Tim-Philipp M??ller <[email protected]>
+
+ * ChangeLog:
+ Update ChangeLogs for 1.20.4
+
+2022-08-24 19:50:19 +0800 Bruce Liang <[email protected]>
+
+ * gst/rtsp-server/rtsp-server-internal.h:
+ * gst/rtsp-server/rtsp-stream-transport.c:
+ * gst/rtsp-server/rtsp-stream.c:
+ gst-rtsp-server: Fix pushing backlog to client
+ Check back pressure of a stream transport before popping buffer from
its backlog.
+ If the stream transport is not experiencing back pressure, the buffer
can be popped from backlog and pushed to client.
+ Fixes:#1298
+ Part-of:
<https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2998>
+
+2022-09-02 16:31:54 +0300 Sebastian Dr??ge <[email protected]>
+
+ * gst/rtsp-server/rtsp-stream.c:
+ rtsp-server: stream: Don't loop forever if binding to the multicast
address fails
+ The address/port is pre-defined by the caller of the function, so
+ retrying is only going to loop forever.
+ Ideally the multicast address should be checked after allocating but
+ this doesn't happen currently, so it's better to error out cleanly
then
+ to loop forever trying the same address.
+ Part-of:
<https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2997>
+
+2022-05-25 18:40:30 +0530 Nirbheek Chauhan <[email protected]>
+
+ * gst/rtsp-sink/gstrtspclientsink.c:
+ rtsp+rtmp: Forward warning added to tls-validation-flags to our users
+ With the 2.72 release, glib-networking developers have decided that
+ TLS certificate validation cannot be implemented correctly by them, so
+ they've deprecated it.
+ In a nutshell: a cert can have several validation errors, but there
+ are no guarantees that the TLS backend will return all those errors,
+ and things are made even more complicated by the fact that the list of
+ errors might refer to certs that are added for backwards-compat and
+ won't actually be used by the TLS library.
+ Our best option is to ignore the deprecation and pass the warning onto
+ users so they can make an appropriate security decision regarding
+ this.
+ We can't deprecate the tls-validation-flags property because it is
+ very useful when connecting to RTSP cameras that will never get
+ updates to fix certificate errors.
+ Relevant upstream merge requests / issues:
+ https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2214
+ https://gitlab.gnome.org/GNOME/glib-networking/-/issues/179
+ https://gitlab.gnome.org/GNOME/glib-networking/-/merge_requests/193
+ Part-of:
<https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2818>
+
+2022-06-29 10:55:13 +0100 Tim-Philipp M??ller <[email protected]>
+
+ * meson.build:
+ coding style: allow declarations after statement
+ See
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1243/
+ and
https://gitlab.freedesktop.org/gstreamer/gstreamer-project/-/issues/78
+ Part-of:
<https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2702>
+
+2022-06-16 00:59:00 +0100 Tim-Philipp M??ller <[email protected]>
+
+ * docs/gst_plugins_cache.json:
+ * meson.build:
+ Back to development
+ Part-of:
<https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2619>
+
=== release 1.20.3 ===
2022-06-15 23:36:18 +0100 Tim-Philipp M??ller <[email protected]>
+ * ChangeLog:
* NEWS:
* RELEASE:
* docs/gst_plugins_cache.json:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gst-rtsp-server-1.20.3/NEWS
new/gst-rtsp-server-1.20.4/NEWS
--- old/gst-rtsp-server-1.20.3/NEWS 2022-06-16 00:36:22.000000000 +0200
+++ new/gst-rtsp-server-1.20.4/NEWS 2022-10-12 17:39:51.000000000 +0200
@@ -2,13 +2,13 @@
GStreamer 1.20.0 was originally released on 3 February 2022.
-The latest bug-fix release in the 1.20 series is 1.20.3 and was released
-on 15 June 2022.
+The latest bug-fix release in the 1.20 series is 1.20.4 and was released
+on 12 October 2022.
See https://gstreamer.freedesktop.org/releases/1.20/ for the latest
version of this document.
-Last updated: Monday 15 June 2022, 17:00 UTC (log)
+Last updated: Wednesday 12 October 2022, 15:00 UTC (log)
Introduction
@@ -757,7 +757,8 @@
- matroskamux: accept in-band SPS/PPS/VPS for H.264 and H.265
(i.e.??stream-format avc3 and hev1) which allows on-the-fly
- profile/level/resolution changes.
+ profile/level changes, and from 1.20.4 onwards also resolution
+ changes.
- matroskamux: new "cluster-timestamp-offset" property, useful for use
cases where the container timestamps should map to some absolute
@@ -909,7 +910,7 @@
- vp8enc: finish support for temporal scalability: two new properties
("temporal-scalability-layer-flags",
"temporal-scalability-layer-sync-flags") and a unit change on the
- "temporal-scalability-target-bitrate" property (now expects bps);
+ "temporal-scalability-target-bitrate??? property (now expects bps);
also make temporal scalability details available to RTP payloaders
as buffer metadata.
@@ -1754,7 +1755,7 @@
names of internal elements anyway.
- The vp8enc element now expects bps (bits per second) for the
- "temporal-scalability-target-bitrate" property, which is consistent
+ "temporal-scalability-target-bitrate??? property, which is consistent
with the "target-bitrate" property. Since additional configuration
is required with modern libvpx to make temporal scaling work anyway,
chances are that very few people will have been using this property
@@ -2503,15 +2504,293 @@
- List of Merge Requests applied in 1.20.3
- List of Issues fixed in 1.20.3
+1.20.4
+
+The fourth 1.20 bug-fix release (1.20.4) was released on 12 October
+2022.
+
+This release only contains bugfixes and it should be safe to upgrade
+from 1.20.x.
+
+Highlighted bugfixes in 1.20.4
+
+- avaudiodec: fix playback issue with WMA files, would throw an error
+ at EOS with FFmpeg 5.x
+- Fix deadlock when loading gst-editing-services plugin
+- Fix input buffering capacity in live mode for aggregator,
+ video/audio aggregator subclasses, muxers
+- glimagesink: fix crash on Android
+- subtitle handling and subtitle overlay fixes
+- matroska-mux: allow width + height changes for avc3|hev1|vp8|vp9
+- rtspsrc: fix control url handling for spec compliant servers and add
+ fallback for incompliant servers
+- WebRTC fixes
+- RTP retransmission fixes
+- video: fixes for formats with 4x subsampling and horizontal co-sited
+ chroma (Y41B, YUV9, YVU9 and IYU9)
+- macOS build and packaging fixes, in particular fix finding of gio
+ modules on macOS for https/TLS support
+- Performance improvements
+- Miscellaneous bug fixes, memory leak fixes, and other stability and
+ reliability improvements
+
+gstreamer
+
+- buffer: drop parent meta in deep copy/foreach_metadata
+- devicemonitor: Use a sync bus handler for the provider to avoid
+ accumulating all messages until the provider is stopped
+- element: Fix requesting of pads with string templates
+- gst: Protect initialization state with a recursive mutex
+- gst: add missing define guard for build without gstreamer debug
+ logging support
+- gst_init: Initialize static plugins just before dynamic plugins
+- info: Parse ???NONE??? as a valid level name
+- meta: Set the parent refcount of the GstStructure correctly
+- pluginloader: Don???t hang on short reads/writes
+- tracers: leaks: fix potentially invalid memory access when trying to
+ detect object type
+- tracers: leaks: fix object-refings.class flags
+- uri: When setting the same string again do nothing
+- value: Don???t loop forever when serializing invalid flag
+
+Base Libraries
+
+- aggregator: fix input buffering in live mode (was too low before in
+ many cases)
+- aggregator: fix reversed active/flushing arguments in debug log
+ output
+- aggregator: Reset EOS flag after receiving a stream-start event
+
+Core Elements
+
+- queue2: Hold the lock when modifying sinkresult
+- queue2: Fix deadlock when deactivate is called in pull mode
+
+gst-plugins-base
+
+- decodebin3: fix mutex leaks
+- decodebin3: Fix memory issues with active selection list
+- decodebin3, uridecodebin3, urisourcebin: Event handling fixes
+- decodebin3: fix EOS event sequence
+- parsebin: Avoid crash with unknown streams
+- parsebin: SIGSEGV during HLS stream using souphttpsrc
+- glimagesink: only allow setting the GL display/context if it is a
+ valid value
+- glimagesink: segfault on android devices
+- gstgl: Fix several memory leaks in macOS
+- opusenc: improve inband-fec property documentation
+- playsink: Hold a reference to the soft volume element
+- pbutils: descriptions: fix gst_pb_utils_get_caps_description_flags()
+- rtspurl: Use gst_uri_join_strings() in
+ gst_rtsp_url_get_request_uri_with_control() instead of a
+ hand-crafted, wrong version
+- rtspconnection: protect cancellable by a mutex
+- sdpmessage: Don???t set SDP medias from caps without
+ media/payload/clock-rate fields
+- samiparse: fix handling of self-closing tags
+- ssaparse: include required system headers for isspace() and sscanf()
+ functions
+- subparse: fix crash when parsing invalid timestamps in mpl2
+- subparse fixes
+- textoverlay: Don???t miscalculate text running times
+- videoaggregator: always convert when user provides converter-config
+- video: Fix scaling in 4x horizontal co-sited chroma (Y41B, YUV9,
+ YVU9 and IYU9)
+- xmptag: register musicbrainz tags during init to fix critical in
+ jpegparse
+- xvimagesink: fix image leaks in error code path
+- tests: skip unit tests for dependency-less elements that have been
+ disabled
+
+Tools
+
+- No changes
+
+gst-plugins-good
+
+- alpha: fix stride issue when out buffer has padding on right
+- isoff: Fix earliest pts field parse issue
+- matroska-mux: allow width + height changes for avc3|hev1|vp8|vp9
+- qt: Fix another instance of Qt/GStreamer both defining GLsync
+ differently
+- qtdemux: Avoid crash on reconfiguring.
+- qtdemux: guard against timestamp calculation overflow in gap event
+ loop
+- qtdemux: Don???t use invalid values from failed trex parsing
+- qtdemux: possible endless loop
+- rtpjitterbuffer: Only unschedule timers for late packets if they???re
+ not RTX packets and only once
+- rtpjitterbuffer: remove lost timer for out of order packets
+- rtspsrc: SETUP generates 400 Bad Request
+- rtspsrc: Retry SETUP with non-compliant URL resolution on ???Bad
+ Request??? and ???Not found???
+- rtpst2022-1-fecenc: Drain column packets on EOS
+- rtpvp8depay: If configured to wait for keyframes after packet loss,
+ also do that if incomplete frames are detected
+- splitmuxsink: Don???t crash on EOS without buffer
+- splitmuxsrc: Stop pad task before cleanup
+- splitmuxsrc: don???t consider unlinked pads when deactivating part
+- soup: libsoup3 makes audio streaming stop
+- v4l2: fix critical when unreferencign buffer with no data
+- v4l2bufferpool: Fix debug trace
+- v4l2object: Add support for Apple???s full-range bt709 colorspace
+ variant 1:3:5:1
+- v4l2videocodec: workaround for failure to fully drain frames
+ preceding MIDSTREAM renegotiation
+- v4l2allocator: Fix invalid imported dmabuf fd
+- videoflip: Fix caps negotiation when method is selected
+- build failure trying to build jack examples
+- examples: don???t try and build jack examples if jack was disabled
+- tests: skip unit tests for dependency-less elements that have been
+ disabled
+
+gst-plugins-bad
+
+- amcvideodec: fix GstAmcSurfaceTexture segfault
+- audiobuffersplit: Fix drift that was introduced by wrong
+ calculations in gapless mode
+- avfvideosrc: Fix wrong default framerate value
+- audiovisualizer: fix buffer mapping to not increase refcount
+- d3d11decoder: Check 16K resolution support
+- d3d11videosink: Fix for force-aspect-ratio setting when rendering on
+ shared texture
+- mxfdemux: Always calculate BlockAlign of raw audio to work around
+ files with broken BlockAlign field in the headers
+- nvdec: Fix for HEVC decoding when coded resolution is larger than
+ display resolution
+- openh264: Register debug categories earlier
+- openh264enc: Fix constrained-high encoding
+- openmpt: update from now deprecated api
+- GstPlay: missing cleanup for g_autoptr
+- player/play: Fix object construction and various leaks
+- player: Plug a memory leak
+- proxysink: Make sure stream-start and caps events are forwarded, and
+ fix memory leak
+- tsdemux: Don???t trigger a program change when falling back to
+ ignore-pcr behaviour
+- va: allocator: Fix translation of VADRMPRIMESurfaceDescriptor
+- va: h265dec: Fix a crash because of missing reference frame.
+- vah265dec: Decoder segfaults on seek
+- wasapi: Implement default audio channel mask
+- wasapi2: Fix initial mute/volume setting
+- webrtcbin: Limit sink query to sink pads
+- webrtcbin: Fix pointer dereference before null check
+- webrtc: Make sure to return NULL when validating TURN server fails
+- tests: skip unit tests for dependency-less elements that have been
+ disabled
+
+gst-plugins-ugly
+
+- tests: skip unit tests for dependency-less elements that have been
+ disabled
+
+gst-libav
+
+- avauddec: fix regression with WMA files, would throw an error at EOS
+- avauddec: fix unnecessary reconfiguration if the audio layout isn???t
+ specified
+- libav: Fix for APNG encoder property registration
+- Failure to decode end of WMA file
+
+gst-rtsp-server
+
+- gst-rtsp-server: Fix pushing backlog to client
+- rtsp-server: stream: Don???t loop forever if binding to the multicast
+ address fails
+
+gstreamer-vaapi
+
+- vaapi: Handle when no encoders/decoders available.
+- vaapi: Crash in gst_vaapidecode_class_init() when no
+ decoders/encoders available
+
+gstreamer-sharp
+
+- No changes
+
+gst-omx
+
+- No changes
+
+gst-python
+
+- python: Do not call gst_init when it is already is_initialized
+
+gst-editing-services
+
+- Deadlock in ges because of recursive gst_init() call
+- ges/gstframepositioner: don???t create one compositor per frame meta
+- nle: clear seek event properly
+
+gst-examples:
+
+- examples/webrtc/signalling: Fix compatibility with Python 3.10
+
+Development build environment + gst-full build
+
+- build: Fix some compiler warnings by upgrading wraps
+- dv, opusparse: fix duplicate symbols in static build
+- Fix fedora 36 warnings - OpenSSL 3.0 deprecations + GLib 2.72
+ tls-validation deprecations
+- Various macOS build fixes
+- meson: Improve certifi documentation on macOS
+
+Cerbero build tool and packaging changes in 1.20.4
+
+- Add Ubuntu 22.04 Jammy Jellyfish
+- Add gst-rtsp-server library to the macOS framework
+- cerbero: Quick fix for gen-cache breakage
+- macos: Fix the install_name for the GStreamer framework
+- Download using powershell on Windows and rework download func
+- macos: Add arm64 to the metadata for the installer
+- cerbero: Allow building on Linux ARM64
+- pkg-config.recipe: Add to core platform files list
+- git: Fix issue with last security patch
+- distros: Fix CentOS allowance
+- cerbero: Print working directory for commands that are run
+- cerbero: Fix license property usage example
+- Fix issue getting distro_version in Debian Bookworm
+- glib: Fix gio modules loading on macOS
+- cmake: Fix macOS ARM64 -> x86_64 cross-compilation
+- Fix logo display in macOS installer
+- openssl.recipe: Fix segfault on latest macOS
+- msvc: Fix for broken CRT linking at application project because of
+ MSVCRT linking
+- cerbero: Do not add rpaths that already exist on macOS
+- android: fix build with android gradle plugin 7.2
+- macOS framework is unusable starting from 1.18.0
+
+Contributors to 1.20.4
+
+Adrian Fiergolski, Aleksandr Slobodeniuk, Andoni Morales Alastruey,
+Andrew Pritchard, Bruce Liang, Corentin Damman, Daniel Morin, Edward
+Hervey, Elliot Chen, Fabian Orccon, fduncanh, Guillaume Desmottes,
+Haihua Hu, He Junyan, Ignazio Pillai, James Cowgill, James Hilliard, Jan
+Alexander Steffens (heftig), Jan Schmidt, Jianhui Dai, Jonas Danielsson,
+Jordan Petridis, Khem Raj, Krystian Wojtas, Martin D??rum, Mart Raudsepp,
+Mathieu Duponchelle, Matthew Waters, Matthias Clasen, Nicolas Dufresne,
+Nirbheek Chauhan, Olivier Cr??te, Pawe?? Stawicki, Philippe Normand,
+Philipp Zabel, Piotr Brzezi??ski, Rafael Caricio, Rafael Sobral, Raul
+Tambre, Ruben Gonzalez, Sangchul Lee, Sebastian Dr??ge, Seungha Yang,
+St??phane Cerveau, Thibault Saunier, Tim-Philipp M??ller, Tristan
+Matthews, V??ctor Manuel J??quez Leal, Xavier Claessens, Zhiyuan Liu,
+
+??? 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.20.4
+
+- List of Merge Requests applied in 1.20.4
+- List of Issues fixed in 1.20.4
+
Schedule for 1.22
Our next major feature release will be 1.22, and 1.21 will be the
unstable development version leading up to the stable 1.22 release. The
development of 1.21/1.22 will happen in the git main branch.
-The plan for the 1.22 development cycle is yet to be confirmed. Assuming
-no major project-wide reorganisations in the 1.22 cycle we might try and
-aim for a release around August 2022.
+The plan for the 1.22 development cycle is now confirmed, and we aim for
+a 1.22.0 release in December 2022.
1.22 will be backwards-compatible to the stable 1.20, 1.18, 1.16, 1.14,
1.12, 1.10, 1.8, 1.6, 1.4, 1.2 and 1.0 release series.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gst-rtsp-server-1.20.3/RELEASE
new/gst-rtsp-server-1.20.4/RELEASE
--- old/gst-rtsp-server-1.20.3/RELEASE 2022-06-16 00:36:22.000000000 +0200
+++ new/gst-rtsp-server-1.20.4/RELEASE 2022-10-12 17:39:51.000000000 +0200
@@ -1,4 +1,4 @@
-This is GStreamer gst-rtsp-server 1.20.3.
+This is GStreamer gst-rtsp-server 1.20.4.
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-rtsp-server-1.20.3/docs/gst_plugins_cache.json
new/gst-rtsp-server-1.20.4/docs/gst_plugins_cache.json
--- old/gst-rtsp-server-1.20.3/docs/gst_plugins_cache.json 2022-06-16
00:36:22.000000000 +0200
+++ new/gst-rtsp-server-1.20.4/docs/gst_plugins_cache.json 2022-10-12
17:39:51.000000000 +0200
@@ -321,7 +321,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
- "default": "GStreamer/1.20.3",
+ "default": "GStreamer/1.20.4",
"mutable": "null",
"readable": true,
"type": "gchararray",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/gst-rtsp-server-1.20.3/gst/rtsp-server/rtsp-server-internal.h
new/gst-rtsp-server-1.20.4/gst/rtsp-server/rtsp-server-internal.h
--- old/gst-rtsp-server-1.20.3/gst/rtsp-server/rtsp-server-internal.h
2022-06-16 00:36:22.000000000 +0200
+++ new/gst-rtsp-server-1.20.4/gst/rtsp-server/rtsp-server-internal.h
2022-10-12 17:39:51.000000000 +0200
@@ -40,6 +40,8 @@
GstBufferList **buffer_list,
gboolean
*is_rtp);
+gboolean gst_rtsp_stream_transport_backlog_peek_is_rtp
(GstRTSPStreamTransport * trans);
+
gboolean gst_rtsp_stream_transport_backlog_is_empty
(GstRTSPStreamTransport *trans);
void gst_rtsp_stream_transport_clear_backlog
(GstRTSPStreamTransport * trans);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/gst-rtsp-server-1.20.3/gst/rtsp-server/rtsp-stream-transport.c
new/gst-rtsp-server-1.20.4/gst/rtsp-server/rtsp-stream-transport.c
--- old/gst-rtsp-server-1.20.3/gst/rtsp-server/rtsp-stream-transport.c
2022-06-16 00:36:22.000000000 +0200
+++ new/gst-rtsp-server-1.20.4/gst/rtsp-server/rtsp-stream-transport.c
2022-10-12 17:39:51.000000000 +0200
@@ -953,6 +953,25 @@
/* Not MT-safe, caller should ensure consistent locking.
* See gst_rtsp_stream_transport_lock_backlog() */
gboolean
+gst_rtsp_stream_transport_backlog_peek_is_rtp (GstRTSPStreamTransport * trans)
+{
+ BackLogItem *item;
+ GstRTSPStreamTransportPrivate *priv;
+
+ g_return_val_if_fail (!gst_rtsp_stream_transport_backlog_is_empty (trans),
+ FALSE);
+
+ priv = trans->priv;
+
+ item = (BackLogItem *) gst_queue_array_peek_head_struct (priv->items);
+
+ return item->is_rtp;
+}
+
+
+/* Not MT-safe, caller should ensure consistent locking.
+ * See gst_rtsp_stream_transport_lock_backlog() */
+gboolean
gst_rtsp_stream_transport_backlog_is_empty (GstRTSPStreamTransport * trans)
{
return gst_queue_array_is_empty (trans->priv->items);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gst-rtsp-server-1.20.3/gst/rtsp-server/rtsp-stream.c
new/gst-rtsp-server-1.20.4/gst/rtsp-server/rtsp-stream.c
--- old/gst-rtsp-server-1.20.3/gst/rtsp-server/rtsp-stream.c 2022-06-16
00:36:22.000000000 +0200
+++ new/gst-rtsp-server-1.20.4/gst/rtsp-server/rtsp-stream.c 2022-10-12
17:39:51.000000000 +0200
@@ -1507,8 +1507,10 @@
|| multicast) {
GstRTSPAddressFlags flags;
- if (addr)
+ if (addr) {
+ g_assert (*server_addr_out == NULL);
rejected_addresses = g_list_prepend (rejected_addresses, addr);
+ }
if (!pool)
goto no_pool;
@@ -1558,9 +1560,15 @@
if (!g_socket_bind (rtp_socket, rtp_sockaddr, FALSE, NULL)) {
GST_DEBUG_OBJECT (stream, "rtp bind() failed, will try again");
g_object_unref (rtp_sockaddr);
- if (transport_settings_defined)
+ if (transport_settings_defined) {
goto transport_settings_error;
- goto again;
+ } else if (*server_addr_out && ((pool
+ && gst_rtsp_address_pool_has_unicast_addresses (pool))
+ || multicast)) {
+ goto no_address;
+ } else {
+ goto again;
+ }
}
g_object_unref (rtp_sockaddr);
@@ -2636,16 +2644,20 @@
gboolean is_rtp;
gboolean popped;
- popped =
- gst_rtsp_stream_transport_backlog_pop (trans, &buffer, &buffer_list,
- &is_rtp);
+ is_rtp = gst_rtsp_stream_transport_backlog_peek_is_rtp (trans);
+
+ if (!gst_rtsp_stream_transport_check_back_pressure (trans, is_rtp)) {
+ popped =
+ gst_rtsp_stream_transport_backlog_pop (trans, &buffer, &buffer_list,
+ &is_rtp);
- g_assert (popped == TRUE);
+ g_assert (popped == TRUE);
- send_ret = push_data (stream, trans, buffer, buffer_list, is_rtp);
+ send_ret = push_data (stream, trans, buffer, buffer_list, is_rtp);
- gst_clear_buffer (&buffer);
- gst_clear_buffer_list (&buffer_list);
+ gst_clear_buffer (&buffer);
+ gst_clear_buffer_list (&buffer_list);
+ }
}
gst_rtsp_stream_transport_unlock_backlog (trans);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/gst-rtsp-server-1.20.3/gst/rtsp-sink/gstrtspclientsink.c
new/gst-rtsp-server-1.20.4/gst/rtsp-sink/gstrtspclientsink.c
--- old/gst-rtsp-server-1.20.3/gst/rtsp-sink/gstrtspclientsink.c
2022-06-16 00:36:22.000000000 +0200
+++ new/gst-rtsp-server-1.20.4/gst/rtsp-sink/gstrtspclientsink.c
2022-10-12 17:39:51.000000000 +0200
@@ -666,6 +666,16 @@
* TLS certificate validation flags used to validate server
* certificate.
*
+ * GLib guarantees that if certificate verification fails, at least one
+ * error will be set, but it does not guarantee that all possible errors
+ * will be set. Accordingly, you may not safely decide to ignore any
+ * particular type of error.
+ *
+ * For example, it would be incorrect to mask %G_TLS_CERTIFICATE_EXPIRED if
+ * you want to allow expired certificates, because this could potentially be
+ * the only error flag set even if other problems exist with the
+ * certificate.
+ *
*/
g_object_class_install_property (gobject_class, PROP_TLS_VALIDATION_FLAGS,
g_param_spec_flags ("tls-validation-flags", "TLS validation flags",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gst-rtsp-server-1.20.3/gst-rtsp-server.doap
new/gst-rtsp-server-1.20.4/gst-rtsp-server.doap
--- old/gst-rtsp-server-1.20.3/gst-rtsp-server.doap 2022-06-16
00:36:22.000000000 +0200
+++ new/gst-rtsp-server-1.20.4/gst-rtsp-server.doap 2022-10-12
17:39:51.000000000 +0200
@@ -32,6 +32,16 @@
<release>
<Version>
+ <revision>1.20.4</revision>
+ <branch>1.20</branch>
+ <name></name>
+ <created>2022-10-12</created>
+ <file-release
rdf:resource="https://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-1.20.4.tar.xz"
/>
+ </Version>
+ </release>
+
+ <release>
+ <Version>
<revision>1.20.3</revision>
<branch>1.20</branch>
<name></name>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gst-rtsp-server-1.20.3/meson.build
new/gst-rtsp-server-1.20.4/meson.build
--- old/gst-rtsp-server-1.20.3/meson.build 2022-06-16 00:36:22.000000000
+0200
+++ new/gst-rtsp-server-1.20.4/meson.build 2022-10-12 17:39:51.000000000
+0200
@@ -1,5 +1,5 @@
project('gst-rtsp-server', 'c',
- version : '1.20.3',
+ version : '1.20.4',
meson_version : '>= 0.59',
default_options : ['warning_level=1', 'buildtype=debugoptimized'])
@@ -126,7 +126,6 @@
'-Wmissing-include-dirs',
'-Waddress',
'-Wno-multichar',
- '-Wdeclaration-after-statement',
'-Wvla',
'-Wpointer-arith',
]