31 #ifndef __GST_NVEVENT_H__
32 #define __GST_NVEVENT_H__
40 #define FLAG(name) GST_EVENT_TYPE_##name
46 = GST_EVENT_MAKE_TYPE (400,
FLAG(DOWNSTREAM) |
FLAG(SERIALIZED)),
49 = GST_EVENT_MAKE_TYPE (401,
FLAG(DOWNSTREAM) |
FLAG(SERIALIZED)),
53 = GST_EVENT_MAKE_TYPE (402,
FLAG(DOWNSTREAM) |
FLAG(SERIALIZED)),
56 = GST_EVENT_MAKE_TYPE (403,
FLAG(DOWNSTREAM) |
FLAG(SERIALIZED)),
60 = GST_EVENT_MAKE_TYPE (404,
FLAG(DOWNSTREAM) |
FLAG(SERIALIZED)),
64 = GST_EVENT_MAKE_TYPE (405,
FLAG(DOWNSTREAM) |
FLAG(SERIALIZED)),
169 GstSegment **segment);
GstEvent * gst_nvevent_new_stream_reset(guint source_id)
Creates a "custom reset" event for the specified source.
GstEvent * gst_nvevent_new_stream_start(guint source_id, gchar *stream_id)
Creates a new "stream start" event.
Specifies a custom event to indicate Pad Deleted.
GstEvent * gst_nvevent_new_stream_segment(guint source_id, GstSegment *segment)
Creates a "custom segment" event for the specified source.
void gst_nvevent_parse_stream_start(GstEvent *event, guint *source_id, gchar **stream_id)
Parses a "stream start" event received on the sinkpad.
Specifies a custom event to indicate Pad Added.
GstNvEventType
Defines supported types of custom events.
GstEvent * gst_nvevent_new_pad_added(guint source_id)
Creates a "custom pad added" event for the specified source.
void gst_nvevent_parse_pad_deleted(GstEvent *event, guint *source_id)
Parses a "pad deleted" event received on the sinkpad.
Specifies a custom event to indicate start of a particular stream in a batch.
void gst_nvevent_parse_stream_reset(GstEvent *event, guint *source_id)
Parses a "stream reset" event received on the sinkpad.
Specifies a custom event to indicate reset of a particular stream in a batch.
GstEvent * gst_nvevent_new_pad_deleted(guint source_id)
Creates a "custom pad deleted" event for the specified source.
void gst_nvevent_parse_pad_added(GstEvent *event, guint *source_id)
Parses a "pad added" event received on the sinkpad.
Specifies a custom event to indicate EOS of a particular stream in a batch.
Specifies a custom event to indicate a stream segment.
void gst_nvevent_parse_stream_eos(GstEvent *event, guint *source_id)
Parses a "stream EOS" event received on the sinkpad.
void gst_nvevent_parse_stream_segment(GstEvent *event, guint *source_id, GstSegment **segment)
Parses a "stream segment" event received on the sinkpad.
GstEvent * gst_nvevent_new_stream_eos(guint source_id)
Creates a "custom EOS" event for the specified source.