[gst-devel] EOS : which element should receive this signal?

florian iragne florian.iragne at viewsurf.com
Tue Jun 30 08:19:27 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

thiagoss a écrit :
>> Sending to the pipeline should work, you can use: gst_element_send_event
>> (pipeline, gst_event_new_eos()),

with your command, it works :
gst_element_send_event (&*busIt->second, gst_event_new_eos());

previously, i was doing : gst_bus_post( &*busIt->first,
gst_message_new_eos( ( GstObject* ) &*busIt->second ) );

busIt->first is a GstBus and ->second is a pipeline (GstElement).

Is there any obvious reason i don't see to explain that it didn't work
with my way?


Anyway, thanks for your help!

cheers

Florian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpJrm8ACgkQO8DE9K7b370fuACgzWiZ52rLFzMNyIs2rBRF5toq
xz4AoKtHp04P60E1Ka1BZ0P+jRzdukex
=01wd
-----END PGP SIGNATURE-----




More information about the gstreamer-devel mailing list