27 #ifndef __GST_NVEVENT_H__
28 #define __GST_NVEVENT_H__
36 #define FLAG(name) GST_EVENT_TYPE_##name
40 = GST_EVENT_MAKE_TYPE (400,
FLAG(DOWNSTREAM) |
FLAG(SERIALIZED)),
42 = GST_EVENT_MAKE_TYPE (401,
FLAG(DOWNSTREAM) |
FLAG(SERIALIZED)),
44 = GST_EVENT_MAKE_TYPE (402,
FLAG(DOWNSTREAM) |
FLAG(SERIALIZED)),
46 = GST_EVENT_MAKE_TYPE (403,
FLAG(DOWNSTREAM) |
FLAG(SERIALIZED))
150 GstSegment **segment);
Custom event to indicate Pad Added.
void gst_nvevent_parse_pad_deleted(GstEvent *event, guint *source_id)
Parse the pad deleted event received on sinkpad.
GstEvent * gst_nvevent_new_pad_added(guint source_id)
Creates a custom pad added for particular source.
Custom event to indicate stream segment.
void gst_nvevent_parse_stream_eos(GstEvent *event, guint *source_id)
Parse the stream EOS event received on sinkpad.
GstNvEventType
Defines the types of custom events supported.
void gst_nvevent_parse_stream_segment(GstEvent *event, guint *source_id, GstSegment **segment)
Parse the stream segment event received on sinkpad.
void gst_nvevent_parse_pad_added(GstEvent *event, guint *source_id)
Parse the pad added event received on sinkpad.
GstEvent * gst_nvevent_new_stream_segment(guint source_id, GstSegment *segment)
Create a custom segment event for a particular source.
GstEvent * gst_nvevent_new_stream_eos(guint source_id)
Create a custom EOS event for a particular source_id.
Custom event to indicate EOS of particular stream in a batch.
Custom event to indicate Pad Deleted.
GstEvent * gst_nvevent_new_pad_deleted(guint source_id)
Creates a custom pad deleted event for particular source.