NVIDIA DeepStream SDK API Reference

5.0 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 
20 #ifndef __GST_NVMESSAGE_H__
21 #define __GST_NVMESSAGE_H__
22 
23 #include <gst/gst.h>
24 
25 G_BEGIN_DECLS
26 
27 
50 GstMessage * gst_nvmessage_new_stream_eos (GstObject *obj, guint eos_stream_id);
51 
59 gboolean gst_nvmessage_is_stream_eos (GstMessage * message);
60 
73 gboolean gst_nvmessage_parse_stream_eos (GstMessage * message, guint * eos_stream_id);
74 
77 G_END_DECLS
78 
79 #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.