Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5bf184d5 authored by Hamad Kadmany's avatar Hamad Kadmany Committed by Stephen Boyd
Browse files

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: default avatarHamad Kadmany <hkadmany@codeaurora.org>
parent 8296bc10
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment