commit | 0641c1daab41d6d9e3f6f952b4c60ab308005514 | [log] [tgz] |
---|---|---|
author | Hamad Kadmany <hkadmany@codeaurora.org> | Wed Apr 03 17:21:14 2013 +0300 |
committer | Hamad Kadmany <hkadmany@codeaurora.org> | Wed Apr 03 17:21:14 2013 +0300 |
tree | 67088893e895402bdf4805ffee0c01e11fd25d73 | |
parent | a0a00f505960c8c2d61162dbc9f7f8389a5e899d [diff] |
media: dvb: Fix calculation of next ready packet in dvb-ringbuffer The calculation of number of bytes between the last reported packet to the user and the current read pointer did not properly take into account wrap-around case in the packet buffer. Debug printouts for values returned by dvb-ringbuffer were added for better traceability. Change-Id: I2765f5b1e0fbb7baed6725f2617702dd7ed87556 Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>