mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 03:01:03 +00:00
4bc906e87e
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 |
||
---|---|---|
.. | ||
.gitignore | ||
gstrtsp.h | ||
gstrtspconnection.c | ||
gstrtspconnection.h | ||
gstrtspdefs.c | ||
gstrtspdefs.h | ||
gstrtspextension.c | ||
gstrtspextension.h | ||
gstrtspmessage.c | ||
gstrtspmessage.h | ||
gstrtsprange.c | ||
gstrtsprange.h | ||
gstrtsptransport.c | ||
gstrtsptransport.h | ||
gstrtspurl.c | ||
gstrtspurl.h | ||
Makefile.am | ||
meson.build | ||
rtsp-prelude.h | ||
rtsp.h |