[Bug 665921] Incorrect EOF detection in gst_file_src_create_read

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Dec 12 04:16:47 PST 2011


https://bugzilla.gnome.org/show_bug.cgi?id=665921
  GStreamer | common | 0.10.35

Vincent Penquerc'h <vincent.penquerch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |vincent.penquerch at collabora
                   |                            |.co.uk
     Ever Confirmed|0                           |1

--- Comment #1 from Vincent Penquerc'h <vincent.penquerch at collabora.co.uk> 2011-12-12 12:16:46 UTC ---
The code after your quote seems to do the right thing wrt testing for EOS (ie,
testing for 0 instead of short reads), so it would seem to be enough to just
remove that particular test, though if callers rely on 'length' more bytes
being available, one might have to loop instead, to return with either a real
EOS plus a short read, or the requested amount of data.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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