[gst-devel] Need help for rezising video.

Stefan Kost ensonic at hora-obscura.de
Sat Jan 8 12:28:10 CET 2011


Am 03.01.2011 23:06, schrieb Nicolas:
> Hi Lijin,
> 
> Thanks for your reply.
> 
> But how capsfilter can help me ?
> 
> I only see in the doc:
> capsfilter — Pass data without modification, limiting formats

Nicolas. forget about the capsfilter. The videodecoder is ouputing a certain
size and you want it to be scaled to the size of your evas widget. Just add a
videoscale between the decoder and the evassink and when the window is resized
set update your caps. Have a look at ximagesink (this won't resize itself as
well and relies on videoscale).

Stefan

> 
> Regards,
> Nicolas.
> 
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment, and, 
> should the need arise, upgrade to a full multi-node Oracle RAC database 
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list