#include #include #include #include "gstnvdsmeta.h" class NvOsdManager { private: public: GstElement *nvosd = NULL; NvOsdManager(); bool create_nv_osd(); ~NvOsdManager(); static gint frame_number; void attach_probe_to_element(); static GstPadProbeReturn osd_src_pad_buffer_probe(GstPad *, GstPadProbeInfo *, gpointer); };