colorkey in xvimagesink

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

colorkey in xvimagesink

Li Li-14
Hi all,

After analyzing the xv related code in realplayer, mplayer and
xvimagesink, I found that both of realplayer and mplayer would fill
the window with colorkey when receiving an window_expose event.

But I did not see it in xvimagesink. It only call XvPutImage()
directly. And it did check autopaint and colorkey parameters when
init.

I'm wondering how xvimagesink paint the rectangle with the correct
colorkey so that the video could be shown accordingly.

Thanks,
Lea

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: colorkey in xvimagesink

Stefan Sauer
Li Li schrieb:

> Hi all,
>
> After analyzing the xv related code in realplayer, mplayer and
> xvimagesink, I found that both of realplayer and mplayer would fill
> the window with colorkey when receiving an window_expose event.
>
> But I did not see it in xvimagesink. It only call XvPutImage()
> directly. And it did check autopaint and colorkey parameters when
> init.
>  
Unless you set "autopaint-colorkey=FALSE" it will autopaint. Please note
that most recent drivers don't export the colorkey anymore and just
autopaint implicitely. You can check if your does it by looking at
xvinfo output.

Stefan

> I'm wondering how xvimagesink paint the rectangle with the correct
> colorkey so that the video could be shown accordingly.
>
> Thanks,
> Lea
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>  


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel