6#ifndef YARP_GSTREAMERDECODER_H
7#define YARP_GSTREAMERDECODER_H
16#include <gst/app/gstappsink.h>
42 GstElement* m_pipeline =
nullptr;
47 std::mutex* m_pointer_mutex =
nullptr;
57 bool init(std::string pipeline_string);
yarp::sig::ImageOf< yarp::sig::PixelRgb > * getLastFrame()
bool init(std::string pipeline_string)
A class for thread synchronization and mutual exclusion.
GstYarpDecoder_cfgParamters()
yarp::os::Semaphore * sem_pointer_stream
yarp::sig::ImageOf< yarp::sig::PixelRgb > * img_pointer
yarp::os::Semaphore * sem_pointer_gst
std::mutex * mutex_pointer
data_for_gst_callback()=default