NVIDIA DeepStream SDK API Reference

4.0.2 Release

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
gst-nvmessage.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
3  *
4  * NVIDIA Corporation and its licensors retain all intellectual property
5  * and proprietary rights in and to this software, related documentation
6  * and any modifications thereto. Any use, reproduction, disclosure or
7  * distribution of this software and related documentation without an express
8  * license agreement from NVIDIA Corporation is strictly prohibited.
9  */
10 
19 #ifndef __GST_NVMESSAGE_H__
20 #define __GST_NVMESSAGE_H__
21 
22 #include <gst/gst.h>
23 
24 G_BEGIN_DECLS
25 
26 
48 GstMessage * gst_nvmessage_new_stream_eos (GstObject *obj, guint eos_stream_id);
49 
57 gboolean gst_nvmessage_is_stream_eos (GstMessage * message);
58 
69 gboolean gst_nvmessage_parse_stream_eos (GstMessage * message, guint * eos_stream_id);
70 
73 G_END_DECLS
74 
75 #endif
gboolean gst_nvmessage_parse_stream_eos(GstMessage *message, guint *eos_stream_id)
Parses the stream ID from a Stream EOS message.
gboolean gst_nvmessage_is_stream_eos(GstMessage *message)
Determines whether a message is a Stream EOS message.
GstMessage * gst_nvmessage_new_stream_eos(GstObject *obj, guint eos_stream_id)
Creates a new Stream EOS message.