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

florian iragne florian.iragne at viewsurf.com
Mon Jun 29 16:59:16 CEST 2009


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

Hi,

i've a multithreaded soft that launchs several gstreamer pipelines. I
store references to the created bus and pipelines in order to be able to
 post eos signal and thus, properly stop the pipelines (and thread, etc)

You've probably guessed that it doesn't work. The eos signal is well
send and well received (the listening function properly handle the
signal, stop the GMainLoop and tell me that everything is fine), but the
produced files are unusable (i produce h264/mp4 files and the moov atom
is not in the file).

If i launch the pipelines with gst-launch, everything is fine.

So, i wonder whether i'm sending the eos to the proper element or not.
I've tried these cases :
 * send eos to the pipeline : doesn't work
 * send eos to the sink elements of the pipeline : KO
 * send eos to the sources : KO
 * send eos to all elements : KO


any idea is welcome!

cheers

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

iEYEARECAAYFAkpI1sQACgkQO8DE9K7b371PygCeLsQRAV1QcItHMdiEQqSbXt9f
Cd4AoJ7fbHXcoK95cNPQJE5QxA1TxTfk
=eo4C
-----END PGP SIGNATURE-----




More information about the gstreamer-devel mailing list