read() behavior

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In general read(2) is not guaranteed to return a complete record.  For
section reads from the demux device the amount of data returned will
almost certainly be less than requested. I've never seen a section
longer than a single TS packet and the recommended length for a read is
4096 bytes.  The questions: are the v4l-dvb drivers guaranteed to return
a complete section for each read?  If not, is there a preferred method
to reassemble split sections? 

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux