gstreamer/gst
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
..
adder gst: don't use volatile to mean atomic 2021-03-19 04:20:19 +00:00
app app: allow per feature registration 2021-03-16 17:58:59 +00:00
audioconvert audioconvert: update doc for mix-matrix 2021-03-17 14:26:54 +01:00
audiomixer audiomixer: allow per feature registration 2021-03-16 17:58:59 +00:00
audiorate audiorate: allow per feature registration 2021-03-29 14:06:00 +02:00
audioresample audioresample: allow per feature registration 2021-03-29 14:06:30 +02:00
audiotestsrc audiotestsrc: allow per feature registration 2021-03-29 14:07:00 +02:00
compositor compositor: allow per feature registration 2021-03-16 17:58:59 +00:00
encoding encodebin: handle video encoder preset fail. 2021-03-19 12:43:59 +00:00
gio gstgiobasesink: Handle incomplete writes in gst_gio_base_sink_render() 2021-04-09 07:35:07 +00:00
overlaycomposition overlaycomposition: allow per feature registration 2021-03-16 17:58:59 +00:00
pbtypes pbtypes: allow per features registration 2020-12-10 13:01:57 +00:00
playback playback: Don't special-case G_SIGNAL_RUN_CLEANUP stage in signal accumulators 2021-03-26 09:31:30 +00:00
rawparse rawparse: allow per feature registration 2021-03-16 17:58:59 +00:00
subparse subparse: allow per feature registration 2020-12-10 13:01:57 +00:00
tcp tcp: allow per feature registration 2021-03-16 17:58:59 +00:00
typefind typefind: use new gst_type_find_suggest_empty_simple() 2021-04-01 21:44:10 -04:00
videoconvert videoconvert: allow per feature registration 2021-03-16 17:58:59 +00:00
videorate gst: don't use volatile to mean atomic 2021-03-19 04:20:19 +00:00
videoscale gst: don't use volatile to mean atomic 2021-03-19 04:20:19 +00:00
videotestsrc videotestsrc: allow per feature registration 2021-03-16 17:59:00 +00:00
volume volume: allow per feature registration 2021-03-16 17:59:00 +00:00
meson.build compositor: add to build after move from -bad 2018-12-28 12:16:18 +01:00