[gst-devel] How to stop the pipeline from plugin?

Edward Hervey bilboed at gmail.com
Thu Jun 25 10:54:32 CEST 2009


Hi,

  The clean way is to:
 * push an EOS event downstream
 * return GST_FLOW_UNEXPECTED

    Edward

On Thu, 2009-06-25 at 11:07 +0300, Joonas Salo wrote:
> Hi,
> I want to make a plugin which stops the pipeline (and gst-launch) when  
> second frame from video stream arrives. The point is to read one  
> single frame from webcam. So far i succeeded with the task in a very  
> crude way, by using exit() in plugin chain-function. Is there a clean  
> way to do this?
> 
> Thanks,
> Joonas
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list