First draft of an automatic discoverer for gst device source caps

(framerate, resolution and image format) to enable auto creation of
DeviceSource.
This commit is contained in:
brunoherbelin
2020-09-25 00:05:35 +02:00
parent 84caf2da9a
commit 202db9eaa2
4 changed files with 193 additions and 11 deletions

View File

@@ -29,7 +29,7 @@ public:
/**
* Open a media using gstreamer pipeline keyword
* */
void open(const std::string &gstreamer_description);
void open(const std::string &gstreamer_description, int w = -1, int h = -1);
/**
* Get description string
* */