On Sat, 2009-12-26 at 00:50 +0000, Uday Verma wrote: > Hi all, Hi,
> I was wondering if there is a way to preserve the aspect ratio of the > incoming video when using the clutter video sink. Modes like > best-fit, letterbox and crop-fit etc. No, neither clutter-gst nor the ClutterMedia interface support forcing the aspect-ratio of the video (that would be a nice addition though). For now, the only way to do that is to listen for the "size-change" signal and do the work yourself. You can have a look at hornsey to see how this signal is handled there: http://git.moblin.org/cgit.cgi/hornsey/tree/src/hrn-video-player.c#n197 HTH, -- Damien --------------------------------------------------------------------- Intel Corporation (UK) Limited Registered No. 1134945 (England) Registered Office: Pipers Way, Swindon SN3 1RJ VAT No: 860 2173 47 This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. -- To unsubscribe send a mail to [email protected]
