On Sun, 26 May 2002, Denis Oliver Kropp wrote:

> Quoting Patrick.Debois ([EMAIL PROTECTED]):
> > Hi,
> > 
> > i'm currently looking around in the directfb library.
> > Using it i would like to display my television with it.
> > That works out ok but the problem is to tune the video device.
> > It gets locked by the videoprovider. So therefore i have 
> > to stop the provider,release it and then open the device again by myself. 
> > I've noticed there is a data->fd structure. Is it available while 
> > displaying a videoprovider so there is stop needed?
> 
> There are two dirty ways to solve the problem. You can include the private
> structure and access the fd or you comment out the goto at line 160 in
> 'drivers/media/video/videodev.c' (2.4.19-pre8). Older kernels had line
> a with "busy=1" that could be commented out.
> 
> A clean way would be to define an interface for tuning that can be retrieved
> by e.g. IDirectFBVideoProvider::GetTuner(). The video provider could then pass
> the fd to the other interface which would also be in the v4l module.
> 
Would it not be better to name it IDirectFBVideoProvider::GetDevice ? 
Besides the Tuning facilities i would also like to change channels, get 
info about mono,stereo signal and so on. 
I don't think it's the task of directfb to implement these kind of 
features and a generic getdevice should be sufficient. 



-- 
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-dev" as subject.

Reply via email to