blob: 4f717557caaa02d879ba0031d26d64e02264fc10 [file] [log] [blame]
// Copyright 2015 The Chromium 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 "bitstream_buffer.h"
namespace media {
BitstreamBuffer::BitstreamBuffer()
: BitstreamBuffer(-1, base::SharedMemoryHandle(), 0) {}
BitstreamBuffer::BitstreamBuffer(int32_t id,
base::SharedMemoryHandle handle,
size_t size,
off_t offset,
base::TimeDelta presentation_timestamp)
: id_(id),
handle_(handle),
size_(size),
offset_(offset),
presentation_timestamp_(presentation_timestamp) {}
BitstreamBuffer::BitstreamBuffer(const BitstreamBuffer& other) = default;
BitstreamBuffer::~BitstreamBuffer() {}
} // namespace media