NVIDIA DeepStream SDK API Reference4.0.1 Release |
Helper functions for custom GStreamer messages posted by DeepStream GStreamer plugins.
DeepStream GStreamer plugins post the following custom messages:
Functions | |
G_BEGIN_DECLS GstMessage * | gst_nvmessage_new_stream_eos (GstObject *obj, guint eos_stream_id) |
Creates a new Stream EOS message. More... | |
gboolean | gst_nvmessage_is_stream_eos (GstMessage *message) |
Determines whether a message is a Stream EOS message. More... | |
gboolean | gst_nvmessage_parse_stream_eos (GstMessage *message, guint *eos_stream_id) |
Parses the stream ID from a Stream EOS message. More... | |
gboolean gst_nvmessage_is_stream_eos | ( | GstMessage * | message | ) |
Determines whether a message is a Stream EOS message.
params[in] message The GstMessage
to be checked.
G_BEGIN_DECLS GstMessage* gst_nvmessage_new_stream_eos | ( | GstObject * | obj, |
guint | eos_stream_id | ||
) |
Creates a new Stream EOS message.
params[in] obj The GStreamer
object creating the message. params[in] eos_stream_id ID of stream for which EOS has been received.
gboolean gst_nvmessage_parse_stream_eos | ( | GstMessage * | message, |
guint * | eos_stream_id | ||
) |
Parses the stream ID from a Stream EOS message.
This ID is the index of the stream which sent the EOS event to the stream muxer.
params[in] message A Stream EOS message. params[out] eos_stream_id A pointer to an unsigned integer in which the function is to place the stream ID.
return A boolean indicating whether the message was successfully parsed.