On 19/03/11 12:46, Styve Attia wrote: > Hello everyone, > > My problem is to render a video using Gstreamer (dfbvideosink) on a > subsurface.. is it possible? > Because I would like to have a video-player using DirectFB, and a small > interface below it such as play/pause buttons.. > > I can render the video correctly, with the Playbin element using dfbvideosink > on my primary surface but I can't place nothing on it.. > > Or maybe, is it possible to change the alpha of a video using Gstreamer? And > then Render the video on the primary surface and adding the buttons interface > on it.. > > Anyone have any suggestion for it?
You might create an intermediate surface at the size of the video. Then for each frame from GStreamer blit from that surface to the primary surface. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users