gstreamer/subprojects/gst-plugins-base/gst-libs/gst
Max Romanov 8aa5a9520c rtspconnection: Handle invalid argument properly
In case when conn->input_stream is NULL and glib was built with
"glib_checks" enabled, g_pollable_input_stream_read_nonblocking()
returns -1, but does not set the "err".

The call stack:
  read_bytes() ->
    fill_bytes() ->
      fill_raw_bytes()

The return value -1 passed up to read_bytes() and incorrectly
processed there after "error:" label.

This changes the return value to EINVAL.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7309>
2024-08-06 09:32:13 +01:00
..
allocators shmallocator: fix build on Illumos 2024-03-13 20:09:44 +00:00
app appsrc: clear eos flag on flush stop event 2024-02-22 19:46:50 +00:00
audio audioconvert: Support converting >64 channels 2024-05-12 11:06:15 +01:00
fft gst-plugins-base: re-indent with GNU indent 2.2.12 2023-03-17 03:18:53 +00:00
gl glframebuffer: Improve error tracing 2024-08-02 14:57:32 +01:00
pbutils encoding-target: Chain up to parent class 2024-07-02 10:10:45 +01:00
riff riff: add more h265 fourcc formats 2023-07-17 13:17:20 +00:00
rtp rtp: Fix constant for maximum two-byte RTP header extension length 2024-02-23 02:18:28 +00:00
rtsp rtspconnection: Handle invalid argument properly 2024-08-06 09:32:13 +01:00
sdp sdp: fix wrong error message for missing clock-rate in caps 2023-08-26 18:01:38 +00:00
tag exiftag: Prevent integer overflows and out of bounds reads when handling undefined tags 2024-04-29 19:54:45 +01:00
video gstvideoaggregator: preserve features in non-alpha caps 2024-07-18 16:14:34 +01:00
glib-compat-private.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
meson.build sdp: Handle level-asymmetry-allowed for H264 streams 2021-12-12 10:59:00 -03:00