gstreamer/gst/gio
Robin Burchell 1a1a885db4 gstgiobasesink: Handle incomplete writes in gst_gio_base_sink_render()
As the comment asked, yes, incomplete writes can happen.
I have encountered this with an sshfs mount, for example.

It seems like g_output_stream_write_all() is designed to handle this case,
by not returning until the requested buffer has been completely written,
or an error occurs, which seems to match up with the desired behaviour.

Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues/885

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1100>
2021-04-09 07:35:07 +00:00
..
gstgio.c gio: allow per feature registration 2021-03-16 17:58:59 +00:00
gstgiobasesink.c gstgiobasesink: Handle incomplete writes in gst_gio_base_sink_render() 2021-04-09 07:35:07 +00:00
gstgiobasesink.h gio: allow per feature registration 2021-03-16 17:58:59 +00:00
gstgiobasesrc.c gio: allow per feature registration 2021-03-16 17:58:59 +00:00
gstgiobasesrc.h gio: allow per feature registration 2021-03-16 17:58:59 +00:00
gstgioelement.c gio: allow per feature registration 2021-03-16 17:58:59 +00:00
gstgioelements.h gio: allow per feature registration 2021-03-16 17:58:59 +00:00
gstgiosink.c gio: allow per feature registration 2021-03-16 17:58:59 +00:00
gstgiosink.h gio: allow per feature registration 2021-03-16 17:58:59 +00:00
gstgiosrc.c gstgiosrc: Don't leak scheme string in gst_gio_src_query() 2021-03-21 06:14:37 +00:00
gstgiosrc.h gio: allow per feature registration 2021-03-16 17:58:59 +00:00
gstgiostreamsink.c gio: allow per feature registration 2021-03-16 17:58:59 +00:00
gstgiostreamsink.h gio: allow per feature registration 2021-03-16 17:58:59 +00:00
gstgiostreamsrc.c gio: allow per feature registration 2021-03-16 17:58:59 +00:00
gstgiostreamsrc.h gio: allow per feature registration 2021-03-16 17:58:59 +00:00
meson.build gio: allow per feature registration 2021-03-16 17:58:59 +00:00