Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] buffer synchronization
- To: linux-dvb@linuxtv.org
- Subject: [linux-dvb] buffer synchronization
- From: Andreas Schultz <andreas@aschultz.net>
- Date: Tue, 25 Sep 2001 17:37:11 +0200
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii; format=flowed
- Delivered-To: mhonarc@limes.convergence.de
- References: <20010924120245.A7000@boole.suse.de> <89UOHk6LlRB@zocki.toppoint.de> <20010925124834.A3017@boole.suse.de>
- Sender: linux-dvb-bounce@linuxtv.org
- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4+) Gecko/20010919
Hi,
When searching for the cause of the datacorruption reported on the VDR
mallinglist under the topic of "ERROR: can't record MPEG1" i stumbled
accross something in the DVB driver, that looks strange to me.
What i'm most interrested in is how the synchronization on the buffer in
DmxDevBufferRead() and DmxDevBufferWrite() is supposed to work.
As far as i could see is DmxDevBufferWrite() called from an IRQ, while
DmxDevBuffeRead() is called from a read() system call. A system call
however can be interrupted by an IRQ at any point.
DmxDevBufferRead() is using pwrite multiple times to calculate things,
pwrite could be modified at the same time by an DmxDevBufferWrite()
called from an IRQ.
Could somebody please enlighten me wether the above is correct or not
and if it could lead to DmxDevBufferRead() to return corrupted data.
Have fun
Andreas
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index