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 
26 #ifndef __GST_NVMESSAGE_H__
27 #define __GST_NVMESSAGE_H__
28 
29 #include <gst/gst.h>
30 
31 G_BEGIN_DECLS
32 
33 
56 GstMessage * gst_nvmessage_new_stream_eos (GstObject *obj, guint eos_stream_id);
57 
65 gboolean gst_nvmessage_is_stream_eos (GstMessage * message);
66 
79 gboolean gst_nvmessage_parse_stream_eos (GstMessage * message, guint * eos_stream_id);
80 
83 G_END_DECLS
84 
85 #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.