diff options
author | Paul Elder <paul.elder@ideasonboard.com> | 2019-05-01 16:37:18 -0400 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-05-02 12:09:16 +0300 |
commit | 1796f8bf24d05544d59ced01c96ae00da13afd7f (patch) | |
tree | 8c01200c60640fe9eccc82b3c9d5d5561f2438c0 /src | |
parent | 58f5ddeb6181bc8015b8a3e55e76d69cd32751f4 (diff) |
configfs: parse mjpeg streaming format
The MJPEG descriptor does not have a guidFormat, and so configfs doesn't
have it either, but we currently error out if there is no guidFormat.
To fix this, extract the stream type part of the real path, and if it is
MJPEG then hardcode it, otherwise read the guid if it is uncompressed.
This does mean that in configfs the MJPEG format descriptor path must be
"mjpeg" for this to work, though this is already guranteed by configfs.
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions