Mailing List archive

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

[linux-dvb] Re: NAPI: missing VID_PLAY_CLEAR_BUFFER function



-----BEGIN PGP SIGNED MESSAGE-----

On Sunday 15 April 2001 13:03, Klaus Schmidinger wrote:
> I am in the process of adapting VDR to the new API and can't find
> a way to clear the driver's video buffer. In the old API there
> was an ioctl-function VID_PLAY_CLEAR_BUFFER that did this, but
> apparently that has been dropped in the new API.
>
> Can somebody please tell me how I can clear the driver's video
> buffer in the new API? I need this function in order to avoid
> picture distortions when starting a new replay after stopping
> a previous one, or in the "Skip 60 seconds" function, respectively.
>
> Maybe the function is already there and I just don't see it...

already there: (but maybe only documented in the header files)

ioctl(int fd_video, VIDEO_CLEAR_BUFFER);
ioctl(int fd_audio, AUDIO_CLEAR_BUFFER);

andreas.



-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv

iQCVAwUBOtmJKLE3fDLTQympAQEw1wP/YG+7dDywvvGYIH3s85m+bZFJqph6vxUV
df5gBeBWbqAOlQRG1D6QQWf4fk9dFIotr1B62YH/IaWEIdH5RB+2v3c5gBEnFFSk
jMn1NG/Xx0uKxfShf38GF28ZUcLJTl6Uww3LSmqrFxoBN14+hJ0bRvzZ+ba9Mle6
vhBYjzGC88M=
=v6/M
-----END PGP SIGNATURE-----


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index