Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 025403bb authored by Igor Murashkin's avatar Igor Murashkin Committed by Android Git Automerger
Browse files

am e09f4860: Camera3: Fix output stream creation for JPEG streams

* commit 'e09f4860':
  Camera3: Fix output stream creation for JPEG streams
parents 1ef63d1a e09f4860
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -57,7 +57,14 @@ Camera3OutputStream::Camera3OutputStream(int id,
        uint32_t width, uint32_t height, size_t maxSize, int format) :
        Camera3Stream(id, CAMERA3_STREAM_OUTPUT,
                width, height, maxSize, format),
        mConsumer(consumer) {
        mConsumer(consumer),
        mTransform(0),
        mTotalBufferCount(0),
        mDequeuedBufferCount(0),
        mFrameCount(0),
        mLastTimestamp(0) {

    mCombinedFence = new Fence();

    if (format != HAL_PIXEL_FORMAT_BLOB) {
        ALOGE("%s: Bad format for size-only stream: %d", __FUNCTION__,