Re: [Ekiga-devel-list] preliminary patch for X-Video support



Hello, 

> > My question now is where and how could I possibly implement a fallback in case XV is not
> > available? Can I register a PVideoOutputDevice_GDK from inside the PVideoOutputDevice_XV
> class? Or
> > where could I start to implement something like that? 
> > 
> 
> I think that unfortunately you not switch from one PVideoOutputDevice to
> another once it is open. Doing so would require changes in OPAL.
> 
> Perhaps Craig can comment on this?
> 
> So I see two solutions :
> - Modify OPAL so that you can change from one PVideoOutputDevice to
> another during a call
> - Create a new PVideoOutputDevice_Ekiga class from the current GDK one
> that is able to draw using xv and fallback to SDL or GDK if it is not
> possible.
> 
> 
Perhaps there is a third option: 
- instanciate a PVideoOutputDevice_GDK from inside PVideoOutputDevice_XV, convert the frame on
receipt from YUV420P to RGB in PVideoOutputDevice_XV and send them to the PVideoOutputDevice_GDK
instance? Is that possible? I would like to keep the XV and GDK output code separated... Perhaps
it also makes sense to move some of the outut code in main.cpp to videooutput_gdk.cpp?

Matthias


		
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de



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