summaryrefslogtreecommitdiffstats
path: root/pica-client/mediadevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'pica-client/mediadevice.h')
-rw-r--r--pica-client/mediadevice.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/pica-client/mediadevice.h b/pica-client/mediadevice.h
index 3099f41..542674b 100644
--- a/pica-client/mediadevice.h
+++ b/pica-client/mediadevice.h
@@ -2,6 +2,7 @@
#define MEDIADEVICE_H
#include <QString>
+#include <QStringList>
#include <QList>
enum MediaDeviceStreamDirection
@@ -15,6 +16,10 @@ struct MediaDeviceInfo
QString device;
QString humanReadable;
int index;
+ // Compressed formats this device can deliver by itself, as FFmpeg codec
+ // names, most preferred first. Filled in for cameras that offer such a
+ // stream (see VideoDevice::CompressedFormats), empty otherwise.
+ QStringList compressedFormats;
};
class MediaDevice