From 6ddea4e488b106bd2093238a1d53906abdff63c4 Mon Sep 17 00:00:00 2001 From: chen0088 Date: Tue, 26 Apr 2022 20:14:17 +0800 Subject: [PATCH] =?UTF-8?q?YUV=E6=8B=8D=E7=85=A7=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: chen0088 --- camera_hdf/hdi_impl/src/dstream_operator/dstream_operator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/camera_hdf/hdi_impl/src/dstream_operator/dstream_operator.cpp b/camera_hdf/hdi_impl/src/dstream_operator/dstream_operator.cpp index 8bef3f5..fb0e2d9 100644 --- a/camera_hdf/hdi_impl/src/dstream_operator/dstream_operator.cpp +++ b/camera_hdf/hdi_impl/src/dstream_operator/dstream_operator.cpp @@ -605,7 +605,7 @@ void DStreamOperator::ConvertStreamInfo(std::shared_ptr &srcInfo, st dstInfo->type_ = DCStreamType::SNAPSHOT_FRAME; if (dstInfo->encodeType_ == ENCODE_TYPE_JPEG) { dstInfo->format_ = OHOS_CAMERA_FORMAT_JPEG; - } else if (dstInfo->encodeType_ == ENCODE_TYPE_NULL){ + } else if (dstInfo->encodeType_ == ENCODE_TYPE_NULL) { dstInfo->format_ = OHOS_CAMERA_FORMAT_YCRCB_420_SP; } } else {