#include "components/cast_streaming/browser/control/remoting/remoting_decoder_buffer_factory.h"
#include <algorithm>
#include "base/logging.h"
#include "media/base/decoder_buffer.h"
#include "media/cast/openscreen/remoting_proto_utils.h"
#include "third_party/openscreen/src/cast/streaming/encoded_frame.h"
namespace cast_streaming {
RemotingDecoderBufferFactory::RemotingDecoderBufferFactory() = default;
RemotingDecoderBufferFactory::~RemotingDecoderBufferFactory() = default;
scoped_refptr<media::DecoderBuffer>
RemotingDecoderBufferFactory::ToDecoderBuffer(
const openscreen::cast::EncodedFrame& encoded_frame,
FrameContents& frame_contents) { … }
}