class dlstreamer::GSTMetadata#

#include <metadata.h>

class GSTMetadata: public dlstreamer::Metadata {
public:
    // construction

    GSTMetadata(GstBuffer* buf, const GstVideoInfo* video_info = nullptr);
    GSTMetadata(GstBufferList* buffer_list);

    // methods

    DictionaryPtr find_metadata(std::string_view meta_name);
    virtual void clear();
    virtual iterator begin();
    virtual iterator end();
    virtual DictionaryPtr add(std::string_view name);
    virtual iterator erase(iterator pos);
};

Inherited Members#

public:
    // typedefs

    typedef std::vector<DictionaryPtr>::iterator iterator;

    // methods

    virtual iterator begin() = 0;
    virtual iterator end() = 0;
    iterator begin() const;
    iterator end() const;
    virtual DictionaryPtr add(std::string_view name) = 0;
    virtual iterator erase(iterator pos) = 0;
    virtual void clear() = 0;