<div dir="ltr"><div>Hi BO,</div><div> </div><div>Since in my case, appsrc is the first element which gets data with changed metadata, will it be OK to set caps there on appsrc.</div><div>Also can u paste some code snippet here how to set caps on appsrc and how that will be send downstream</div>
<div>will be of great help</div><div> </div><div>Thanks</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 22, 2013 at 8:14 PM, Baby Octopus <span dir="ltr"><<a href="mailto:jagadishkamathk@gmail.com" target="_blank">jagadishkamathk@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
This is a classic case of resolution changing and you will have to start<br>
from a fresh state. Even older versions of vlc crashes for such a usecase.<br>
Not sure if ffdec handles on the fly change of resolution with new SPS<br>
<br>
Whoever detects change in resolution, be it appsrc, parser or decoder can<br>
send a caps changed event up/downstream so that required elements can get<br>
reinitialized. That is one way of handling this<br>
<br>
~BO<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Adaptive-video-elementary-stream-playback-tp4661668p4661670.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Adaptive-video-elementary-stream-playback-tp4661668p4661670.html</a><br>
Sent from the GStreamer-devel mailing list archive at Nabble.com.<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>
</blockquote></div><br></div>