You will have to create a capsfilter element and set the relevant caps on it (with the frame size you require). Then follow it up with a video scale element. (...-&gt;decoder-&gt;capsfilter-&gt;videoscale-&gt;...-&gt;sink)<div>
Check out this doc here -</div><div><a href="http://pygstdocs.berlios.de/pygst-tutorial/capabilities.html">http://pygstdocs.berlios.de/pygst-tutorial/capabilities.html</a></div><div><br></div><div><a href="http://pygstdocs.berlios.de/pygst-tutorial/capabilities.html"></a>Its pygst but the concept is the same.</div>
<div><br></div><div>Rohit<br><br><div class="gmail_quote">On Tue, Jan 4, 2011 at 2:36 AM, Nicolas <span dir="ltr">&lt;<a href="mailto:c.r.n.a@wanadoo.fr">c.r.n.a@wanadoo.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Lijin,<br>
<br>
Thanks for your reply.<br>
<br>
But how capsfilter can help me ?<br>
<br>
I only see in the doc:<br>
capsfilter — Pass data without modification, limiting formats<br>
<br>
Regards,<br>
<font color="#888888">Nicolas.<br>
</font><div><div></div><div class="h5"><br>
------------------------------------------------------------------------------<br>
Learn how Oracle Real Application Clusters (RAC) One Node allows customers<br>
to consolidate database storage, standardize their database environment, and,<br>
should the need arise, upgrade to a full multi-node Oracle RAC database<br>
without downtime or disruption<br>
<a href="http://p.sf.net/sfu/oracle-sfdevnl" target="_blank">http://p.sf.net/sfu/oracle-sfdevnl</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br></div>