blob: 5eca7d210deddd5f1bf2b6e0b01430a06efad120 [file] [log] [blame]
philipel2fee4d62018-03-21 16:52:13 +01001/*
2 * Copyright (c) 2018 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11#include "video/video_stream_decoder_impl.h"
12
13#include "rtc_base/ptr_util.h"
14
15namespace webrtc {
16VideoStreamDecoderImpl::VideoStreamDecoderImpl(
17 VideoStreamDecoder::Callbacks* callbacks,
18 VideoDecoderFactory* decoder_factory,
19 std::map<int, std::pair<SdpVideoFormat, int>> decoder_settings)
20 : callbacks_(callbacks),
21 decoder_factory_(decoder_factory),
22 decoder_settings_(std::move(decoder_settings)) {}
23
24VideoStreamDecoderImpl::~VideoStreamDecoderImpl() {}
25
26void VideoStreamDecoderImpl::OnFrame(
27 std::unique_ptr<video_coding::EncodedFrame> frame) {}
28} // namespace webrtc