blob: c89940a7c2cd12521f0c548fb25c987a842a7f01 [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "stream_provider.h"
#include "isp_stream_provider.h"
std::unique_ptr<StreamProvider> StreamProvider::Create(Source source) {
switch (source) {
case Source::ISP:
return IspStreamProvider::Create();
default:
return nullptr;
}
}