[Bug 795596] rtspconnection: GError set over the top of a previous GError or uninitialized memory.

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Aug 22 09:54:50 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=795596

--- Comment #7 from Nils Öhnell <nils.ohnell at axis.com> ---
> What error is being returned in this case where it returns a non-negative number as well?
The returned error is depending on the G_IO_ERROR with GST_RTSP_ESYS as
default, as before.

> Is this intentional and expected or perhaps a bug in the underlying code in GLib?
Well, the GLib documentation states "the number of bytes ..., or -1 on error"
for both the underlying GLib functions
(g_pollable_output_stream_write_nonblocking and
g_pollable_input_stream_read_nonblocking), so at least one could say that the
GLib implementation does not match the GLib documentation.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list