Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] DVB buffer flushing ?
- To: linux-dvb@linuxtv.org
- Subject: [linux-dvb] DVB buffer flushing ?
- From: Andreas Schultz <aschultz@cs.uni-magdeburg.de>
- Date: Thu, 29 Nov 2001 18:28:56 +0000
- Content-Transfer-Encoding: 8bit
- Content-type: text/plain; charset=us-ascii
- Delivered-To: mhonarc@limes.convergence.de
- Sender: linux-dvb-bounce@linuxtv.org
- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.6+) Gecko/20011118
Hi,
I've encountered a strange problem. I try to temporary stop an MPEG
datastream. That stoping should be frame accurate.
This appeared to be working perfectly, when i just stoped sending data
to the driver. The picture freezes and comes back alive when i resume
the datastream. No additional ioctl's are needed.
The only problem is: it doesn't stop on the last frame. It stop's some
frames before that. The missing frames are actualy played, when i resume
the datastream.
It would appear as if the driver internal buffers are only flushed after
they have reached a certain fill-level.
During my further investigation, i stumbled accross the play_iframe()
function, which apparently deals with the same problem. The I-frame is
simply repeated n-times, so that the buffer contains 400kb of data,
which will apparently then be flush.
I can't use play_iframe() since the last frame might not be an I-frame.
So my question is, how do i force the driver do flush it's current
buffer content to the card?
Have fun
Andreas
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index