summaryrefslogtreecommitdiffstats
path: root/media/base/buffers.cc
blob: ab66b9adbd2156be59e3b83cc137ae1cf7d9e22a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (c) 2010 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 "media/base/buffers.h"

namespace media {

const base::TimeDelta kNoTimestamp =
    base::TimeDelta::FromMicroseconds(kint64min);

StreamSample::StreamSample() {}

StreamSample::~StreamSample() {}

bool Buffer::IsEndOfStream() const {
  return GetData() == NULL;
}

}  // namespace media