Re: Compiling and testing Freevo2

Jason Tackaberry <[email protected]> Wed, 20 Jul 2011 22:11:59 -0400
Newsgroups gmane.comp.video.freevo.devel
Message-ID <[email protected]>
On 11-07-19 03:26 PM, Dirk Meyer wrote:
> Jason: can you post the current code you have for this?

I have nothing uncommitted in kaa.popcorn.

I had a C-only prototype to figure out how to do it.  Redirecting the 
video to a texture is pretty easy, though:

    ClutterActor *tex;
    tex = clutter_glx_texture_pixmap_new_with_window(x11_window_id);
    g_object_set(tex, "window-redirect-automatic", TRUE, NULL);
    clutter_x11_texture_pixmap_set_automatic(CLUTTER_X11_TEXTURE_PIXMAP(tex), TRUE);


Then you can add tex to a clutter stage.  It automatically updates when 
there are damage events on the source X11 window.

But I'm not sure this is right path anymore -- at least not for 
fullscreen viewing, because you can't really control frame timing this 
way.  See my other email.

------------------------------------------------------------------------------
5 Ways to Improve & Secure Unified Communications
Unified Communications promises greater efficiencies for business. UC can 
improve internal communications as well as offer faster, more efficient ways
to interact with customers and streamline customer service. Learn more!
http://www.accelacomm.com/jaw/sfnl/114/51426253/

_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel