Re: [Ekiga-devel-list] preliminary patch for X-Video support
- From: Damien Sandras <dsandras seconix com>
- To: Ekiga development mailing list <ekiga-devel-list gnome org>
- Subject: Re: [Ekiga-devel-list] preliminary patch for X-Video support
- Date: Tue, 12 Sep 2006 21:38:34 +0200
Le mardi 12 septembre 2006 à 21:35 +0200, Matthias Schneider a écrit :
> 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?
What I would do is the following :
- A generic class unable to display
- A few other classes, to handle the display
--
_ Damien Sandras
(o-
//\ Ekiga Softphone: http://www.ekiga.org/
v_/_ FOSDEM 2006 : http://www.fosdem.org/
SIP Phone : sip:dsandras ekiga net
sip:600000 ekiga net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]