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

Commit a8542ead authored by Jan Sebechlebsky's avatar Jan Sebechlebsky
Browse files

Fix build warning

... and use toString for more meaningfull pixel format value.

Bug: 338251124
Test: adb shell cmd -w virtual_camera enable_test_camera
Change-Id: I3791739cf3e0da8678e75def741921d26d0101a6
parent c944886e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -122,8 +122,8 @@ VirtualCameraTestInstance::VirtualCameraTestInstance(const int fps)
ScopedAStatus VirtualCameraTestInstance::onStreamConfigured(
    const int32_t streamId, const Surface& surface, const int32_t width,
    const int32_t height, const Format pixelFormat) {
  ALOGV("%s: streamId %d, %dx%d pixFmt=%d", __func__, streamId, width, height,
        pixelFormat);
  ALOGV("%s: streamId %d, %dx%d pixFmt=%s", __func__, streamId, width, height,
        toString(pixelFormat).c_str());

  std::lock_guard<std::mutex> lock(mLock);
  mRenderer = std::make_shared<TestPatternRenderer>(