mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 13:41:48 +00:00
bb595d8fd8
Original commit message from CVS: * ext/gio/gstgiobasesrc.c: (gst_gio_base_src_finalize), (gst_gio_base_src_create): * ext/gio/gstgiobasesrc.h: Try to read the requested number of bytes, even if the first read returns less than requested, until nothing is read anymore or we have the requested amount of bytes. This fixes playback of files via Samba as Samba only allows to read 64k at once. Implement a caching algorithm that makes sure that we read at least 4k of data every time. Some elements will try to read a few bytes, then seek, read again a few bytes and so on and this is painfully slow as every operation has to go over DBus if GVfs is used as backend. Fixes bug #536849 and #536848. * ext/gio/gstgiosrc.c: (gst_gio_src_class_init), (gst_gio_src_check_get_range): Override check_get_range() to blacklist http/https URIs and whitelist file URIs. More to be added on demand. |
||
---|---|---|
.. | ||
gstgio.c | ||
gstgio.h | ||
gstgiobasesink.c | ||
gstgiobasesink.h | ||
gstgiobasesrc.c | ||
gstgiobasesrc.h | ||
gstgiosink.c | ||
gstgiosink.h | ||
gstgiosrc.c | ||
gstgiosrc.h | ||
gstgiostreamsink.c | ||
gstgiostreamsink.h | ||
gstgiostreamsrc.c | ||
gstgiostreamsrc.h | ||
Makefile.am |