stream optimizations
This commit is contained in:
@@ -7,12 +7,12 @@
|
||||
|
||||
class GStreamerPipeline {
|
||||
public:
|
||||
explicit GStreamerPipeline(const std::string& pipelineDescription);
|
||||
explicit GStreamerPipeline(std::string pipelineDescription);
|
||||
~GStreamerPipeline();
|
||||
|
||||
bool start();
|
||||
void stop();
|
||||
bool pushBuffer(uint8_t* data, size_t size, int width, int height, const std::string& format);
|
||||
bool pushBuffer(const uint8_t* data, size_t size, int width, int height, const std::string& format);
|
||||
bool isRunning() const { return running_; }
|
||||
|
||||
void setPipelineDescription(const std::string& description);
|
||||
|
||||
Reference in New Issue
Block a user