2006-12-16, 17:22
alright that was even weirder , dvdplayer acts in a way I didn't expect ( actually a good way, just didn't expect it ).
only thing I can think of that is causing this is some brokenness on the rtv server side, where it doesn't like the small read request that we are forced to do to fill the buffer. it must be returning junk back in that case.
this come from that that since the standard filereading rutines as defined by the C standard says a read that returns less than requested is an eof, our emulation layer makes sure a read is completed by repeating the read operation until the buffer is full.
dvdplayer doesn't need to do this as we have knowledge about it's demuxers, and can have them handle shorter reads.
only thing I can think of that is causing this is some brokenness on the rtv server side, where it doesn't like the small read request that we are forced to do to fill the buffer. it must be returning junk back in that case.
this come from that that since the standard filereading rutines as defined by the C standard says a read that returns less than requested is an eof, our emulation layer makes sure a read is completed by repeating the read operation until the buffer is full.
dvdplayer doesn't need to do this as we have knowledge about it's demuxers, and can have them handle shorter reads.