A gstreamermm Gst::ElementFactory example.
#include <gstreamermm.h>
int main(int argc, char *argv[])
{
{
}
if (!fakesrc_factory)
{
return -1;
}
std::cout <<
"Author of the element '" << fakesrc_factory->get_name() <<
"' is "
std::cout <<
"All information about element '" << fakesrc_factory->get_name() <<
"':" <<
std::endl;
for (auto metadata_key : fakesrc_factory->get_metadata_keys())
{
std::cout <<
" * " << metadata_key <<
": " << fakesrc_factory->get_metadata(metadata_key) <<
std::endl;
}
{
if (!fakesrc)
{
return -1;
}
}
{
if (!fakesrc)
{
return -1;
}
}
return 0;
}