filesrc: do not mistake short reads for EOS
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Mon, 12 Dec 2011 13:05:36 +0000 (13:05 +0000)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Mon, 12 Dec 2011 13:35:06 +0000 (13:35 +0000)
commit431fc714c927381e359c07a8599b8b2bc301f415
tree008f87b8644f3077ff89d1cde0e9a32d93f1593c
parentf4040d3f6b0fabda92fbbb624cf11f13ff2c164f
filesrc: do not mistake short reads for EOS

While local filesystems will usually not cause short reads,
this may happen on seekable files on some remote filesystems.
Instead, loop till we get the requested amount of data, or
an actual EOS (ie, 0 bytes).

https://bugzilla.gnome.org/show_bug.cgi?id=665921
plugins/elements/gstfilesrc.c