gstreamer/gst-libs/gst/rtsp
Kristofer Bjorkstrom 4bc906e87e rtspconnection: Fix GError set over the top of a previous GError
The function fill_bytes could sometimes return a value greater than zero
and in the same time set the GError.

Function read_bytes calls fill_bytes in a while loop. In the special
case above it would call fill_bytes with error already set.
Thus resulting in "GError set over the top of a previous GError".

Solved this by clearing GError when return value is greater than zero.
Actions are taken depending on error type by caller of read_bytes. Eg.
with EWOULDBLOCK gst_rtsp_source_dispatch_read will try to read the
missing bytes again (GST_RTSP_EINTR )

https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/445
2019-02-18 16:12:58 +00:00
..
.gitignore rtsp: use generic marshaller 2014-10-24 10:17:47 +01:00
gstrtsp.h libs: Add missing single include headers and use them in GIRs 2012-11-21 11:01:24 +01:00
gstrtspconnection.c rtspconnection: Fix GError set over the top of a previous GError 2019-02-18 16:12:58 +00:00
gstrtspconnection.h rtsp-connection: Make use of new GstRTSPMessage API for directly storing a body buffer and add API for writing multiple messages 2019-01-29 14:17:23 +02:00
gstrtspdefs.c rtspdefs: Add gst_rtsp_generate_digest_auth_response_from_md5 2018-06-21 15:32:12 +02:00
gstrtspdefs.h rtspdefs: Add gst_rtsp_generate_digest_auth_response_from_md5 2018-06-21 15:32:12 +02:00
gstrtspextension.c docs: Convert gtkdoc comments to markdown 2017-03-10 18:19:17 -03:00
gstrtspextension.h libs: Documentation cleanup 2018-04-02 08:53:28 +02:00
gstrtspmessage.c rtsp-message: Add support for storing GstBuffers directly as body payload of messages 2019-01-29 14:17:23 +02:00
gstrtspmessage.h rtsp-message: Add support for storing GstBuffers directly as body payload of messages 2019-01-29 14:17:23 +02:00
gstrtsprange.c gst-libs: include config.h in all source files 2018-08-13 09:23:34 +01:00
gstrtsprange.h rtsp: GST_EXPORT -> GST_RTSP_API 2018-03-13 12:16:42 +00:00
gstrtsptransport.c gst-libs: include config.h in all source files 2018-08-13 09:23:34 +01:00
gstrtsptransport.h pbutils, rtsp: fix deprecation guards 2018-08-13 00:24:50 +01:00
gstrtspurl.c gst-libs: include config.h in all source files 2018-08-13 09:23:34 +01:00
gstrtspurl.h rtsp: GST_EXPORT -> GST_RTSP_API 2018-03-13 12:16:42 +00:00
Makefile.am libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 08:45:34 +01:00
meson.build libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 08:45:34 +01:00
rtsp-prelude.h libs: fix API export/import and 'inconsistent linkage' on MSVC 2018-09-24 08:45:34 +01:00
rtsp.h rtsp: GST_EXPORT -> GST_RTSP_API 2018-03-13 12:16:42 +00:00