#include "gstds_example_manager.hpp" GstdsExampleManager::GstdsExampleManager() {} bool GstdsExampleManager::create_gstds_example() { custom_plugin = gst_element_factory_make("dsexample", "nvdsgst_dsexample"); g_object_set(G_OBJECT(custom_plugin), "full-frame", 0, NULL); if (!custom_plugin) { g_printerr("Custom_plugin could not be created. Exiting.\n"); return false; } return true; }