<br> You can use this example and do slight modification in bus callback, i.e. whenever bus callback receives EOS , instead of quiting the loop play pipeline again.<br>And once your counter (as you want to run it x times) hits the mark then quit the loop.<br>
<br><br><div class="gmail_quote">On Thu, Nov 25, 2010 at 11:57 AM, Edward Hervey <span dir="ltr"><<a href="mailto:bilboed@gmail.com">bilboed@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Please don't hijack threads<br>
<div><div></div><div class="h5"><br>
On Thu, 2010-11-11 at 11:40 +0530, Kaustubh Raste wrote:<br>
> Hi,<br>
><br>
> I want to create app which will continuously re-run the command-line<br>
> pipeline for x times.<br>
> I have used the example code from<br>
> "<a href="http://www.gstreamer.net/data/doc/gstreamer/head/manual/html/chapter-he" target="_blank">http://www.gstreamer.net/data/doc/gstreamer/head/manual/html/chapter-he</a><br>
> lloworld.html" to create the app.<br>
><br>
> Can this be done by using g_main_loop_run? If yes, how? (So that I need<br>
> not have to write application again)<br>
> If no, can you suggest method to do so.<br>
><br>
> NOTE: I do not want to use any player as I am using my own plugin in<br>
> pipeline.<br>
><br>
> -Kaustubh<br>
><br>
><br>
> ------------------------------------------------------------------------------<br>
> Centralized Desktop Delivery: Dell and VMware Reference Architecture<br>
> Simplifying enterprise desktop deployment and management using<br>
> Dell EqualLogic storage and VMware View: A highly scalable, end-to-end<br>
> client virtualization framework. Read more!<br>
> <a href="http://p.sf.net/sfu/dell-eql-dev2dev" target="_blank">http://p.sf.net/sfu/dell-eql-dev2dev</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>
<br>
<br>
<br>
</div></div>------------------------------------------------------------------------------<br>
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!<br>
Tap into the largest installed PC base & get more eyes on your game by<br>
optimizing for Intel(R) Graphics Technology. Get started today with the<br>
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.<br>
<a href="http://p.sf.net/sfu/intelisp-dev2dev" target="_blank">http://p.sf.net/sfu/intelisp-dev2dev</a><br>
<div><div></div><div class="h5">_______________________________________________<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><br clear="all"><br>-- <br>Regards,<br><br>Sudarshan Bisht<br>