Listening on EOS events for GstBin
Edward Hervey
bilboed at bilboed.com
Thu Oct 23 01:39:34 PDT 2014
Hi,
On Wed, 2014-10-22 at 19:23 +0300, Engin FIRAT wrote:
> Hello,
>
>
> I have GstBin element in a pipeline and this bin consists of
> matroskamux and filesink elements. Moreover, it has a ghostpad which
> is constructed from matroskamux's sink pad. I have been working on
> changing the location of the filesink. In order to achieve this task I
> send an EOS signal to bin's ghostpad and then try to listen on EOS
> event generated from bin whenever all elements inside bin generate the
> EOS event. But I cannot find a way to listen for EOS events on GstBin?
EOS (and all other) events travel in the stream, so you intercept
them... at the pad level. See the documentation for pad probes, you'll
be able to see them coming out your bin's source (ghost)pads.
Edward
>
>
> Could you please suggest me a way?
> Regards.
>
>
> --
> Engin FIRAT
> Adoniss Yazılım Bilişim
> Elektronik Araştırma Geliştirme
> Limited Şirketi
> +90 506 884 82 07 (Mobile)
>
> ODTÜ Teknokent, ODTÜ-Halıcı Yazılımevi
> İnönü Bulvarı / ANKARA (Address)
>
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list