Pipeline thread id

Sebastian Dröge sebastian at centricular.com
Fri Dec 9 10:57:23 UTC 2016


On Fri, 2016-12-09 at 02:29 -0800, LC wrote:
> Sure, i can use different approach, that is to reconstruct the pipe if i
> receive eos of specific pipeline. But if there is no eos, just crash. Can i
> be sure that any source element in pipeline will send eos after ~5s ? If
> yes, i can monitor just pipeline state.

What do you mean with crash, what is it that you want to detect?

If you want to detect no data flowing, you could make use of the
watchdog element, which will send you a message if nothing happened for
a while. Or the timeout property on udpsrc.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161209/6726957d/attachment.sig>


More information about the gstreamer-devel mailing list