summaryrefslogtreecommitdiff
path: root/test/gstreamer/gstreamer_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/gstreamer/gstreamer_test.h')
-rw-r--r--test/gstreamer/gstreamer_test.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/gstreamer/gstreamer_test.h b/test/gstreamer/gstreamer_test.h
index 35adab0e..6f277cc5 100644
--- a/test/gstreamer/gstreamer_test.h
+++ b/test/gstreamer/gstreamer_test.h
@@ -15,7 +15,7 @@
class GstreamerTest
{
public:
- GstreamerTest();
+ GstreamerTest(unsigned int numStreams = 1);
virtual ~GstreamerTest();
protected:
@@ -27,4 +27,7 @@ protected:
GstElement *pipeline_;
GstElement *libcameraSrc_;
int status_;
+
+private:
+ bool checkMinCameraStreams(unsigned int numStreams);
};