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.

-- 
Best regards,
  Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

                            Convergence GmbH


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

Reply via email to