Mailing List archive

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

[linux-dvb] How do I wait on a device until it has processed its bufferd data?



Hi,

is there currently a way to achieve, what the subject asks for?

I'd expect something like that:

	boolean video_drained = FALSE;
	boolean audio_drained = FALSE;
	
	do
	{
	  ioctl(fd_video, VIDEO_DRAIN_BUFFER, &video_drained);
	  ioctl(fd_audio, AUDIO_DRAIN_BUFFER, &audio_drained);
	}
	while (!video_drained || !audio_drained);

Bye.
--
Dipl.-Inform. (FH) Reinhard Nissl
mailto:rnissl@gmx.de




Home | Main Index | Thread Index