gstreamer/subprojects/gst-plugins-base/gst-libs/gst/rtsp
Max Romanov 09257b391c 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/7210>
2024-08-06 03:50:34 +00:00
..
gstrtsp.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstrtspconnection.c rtspconnection: Handle invalid argument properly 2024-08-06 03:50:34 +00:00
gstrtspconnection.h rtspconnection: Add API for adding extra http request headers 2023-09-26 06:35:43 +00:00
gstrtspdefs.c rtsp: Add/fix various annotations 2022-10-18 08:56:58 +00:00
gstrtspdefs.h rtspconnection: support redirect when using tunnel 2024-01-31 11:43:45 +00:00
gstrtspextension.c Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstrtspextension.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstrtspmessage.c rtspconnection: Annotate RTSP message parameters correctly 2023-02-23 12:04:37 +00:00
gstrtspmessage.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstrtsprange.c Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstrtsprange.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstrtsptransport.c realmedia: remove RealServer RTSP extension, RDT handling and PNM source 2024-02-13 11:44:29 +00:00
gstrtsptransport.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstrtspurl.c rtsp: gstrtspurl: gst_rtsp_url_get_request_uri: use rtsps scheme for tls transport methods 2023-03-29 11:38:47 +00:00
gstrtspurl.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
meson.build gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
rtsp-prelude.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
rtsp.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00