<div dir="ltr"><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">On Wed, Jul 16, 2008 at 5:47 PM, thiagoss &lt;<a href="mailto:thiagossantos@gmail.com">thiagossantos@gmail.com</a>&gt; wrote:<br>
<div>&nbsp;</div>&nbsp;You can get the caps when decodebin adds a new pad, and at this time
you analyze its caps to decide if you need videoscale or not. <br><br>-thiago<br></blockquote>
<br>But as far as I know, those caps describe what could be negociated (from pad templates), not the actual data. <br>For the video streams I&#39;m trying, all it reports is &#39;video/x-raw-rgb; video/x-raw-yuv&#39;. <br>
I need to change the caps after they have been negociated.<br>I think I might have to write an element for this, and implement caps negociation as shown in <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/pwg/html/section-nego-downstream.html">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/pwg/html/section-nego-downstream.html</a><br>
But it will be complicated. Is there a better option?<br><br>Thanks,<br>Alexandre<br><br><div class="gmail_quote"><br></div><br>-- <br>Alexandre Rosenfeld <br><br>EngComp 06 - USP São Carlos
</div>