NVIDIA DeepStream SDK API Reference

9.1 Release
sources/includes/gst-nvmessage.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2018-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: Apache-2.0
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 
33 #ifndef __GST_NVMESSAGE_H__
34 #define __GST_NVMESSAGE_H__
35 
36 #include <gst/gst.h>
37 
38 G_BEGIN_DECLS
39 
40 
63 GstMessage * gst_nvmessage_new_stream_eos (GstObject *obj, guint eos_stream_id);
64 
72 gboolean gst_nvmessage_is_stream_eos (GstMessage * message);
73 
86 gboolean gst_nvmessage_parse_stream_eos (GstMessage * message, guint * eos_stream_id);
87 
90 G_END_DECLS
91 
92 #endif
gst_nvmessage_new_stream_eos
GstMessage * gst_nvmessage_new_stream_eos(GstObject *obj, guint eos_stream_id)
Creates a new Stream EOS message.
gst_nvmessage_is_stream_eos
gboolean gst_nvmessage_is_stream_eos(GstMessage *message)
Determines whether a message is a stream EOS message.
GstObject
struct _GstObject GstObject
Definition: service-maker/includes/object.hpp:39
gst_nvmessage_parse_stream_eos
gboolean gst_nvmessage_parse_stream_eos(GstMessage *message, guint *eos_stream_id)
Parses the stream ID from a stream EOS message.