<div dir="ltr">Once the URI is set, set your pipeline into PAUSED state. Once that has been done, you should be prerolled, and can check the current caps on any pad that you know about. I don't know the Python interface, but in C one would use g_signal_emit_by_name to ask for a pointer to the video pad to query:<br>
<pre>g_signal_emit_by_name (playbin, "get-video-pad", 0, &pad, NULL);</pre><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 4, 2013 at 2:19 PM, Kip Warner <span dir="ltr"><<a href="mailto:kip@thevertigo.com" target="_blank">kip@thevertigo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey list,<br>
<br>
I am using the playbin bin with the autovideodetect sink via PyGI. What<br>
is the correct approach to determining the source video's dimensions at<br>
runtime after the URI has been set?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Kip Warner -- Software Engineer<br>
OpenPGP encrypted/signed mail preferred<br>
<a href="http://www.thevertigo.com" target="_blank">http://www.thevertigo.com</a><br>
</font></span><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Stirling Westrup<br>Programmer, Entrepreneur.<br><a href="https://www.linkedin.com/e/fpf/77228" target="_blank">https://www.linkedin.com/e/fpf/77228</a><br><a href="http://www.linkedin.com/in/swestrup" target="_blank">http://www.linkedin.com/in/swestrup</a><br>
<a href="http://technaut.livejournal.com" target="_blank">http://technaut.livejournal.com</a><br><a href="http://sourceforge.net/users/stirlingwestrup" target="_blank">http://sourceforge.net/users/stirlingwestrup</a>
</div>