aboutsummaryrefslogtreecommitdiff
path: root/cast/streaming/frame_id.cc
blob: bf061fe8e122ac722b7fa2674b512a49efc2cfa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2016 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 "cast/streaming/frame_id.h"

namespace cast {
namespace streaming {

std::ostream& operator<<(std::ostream& out, const FrameId rhs) {
  out << "F";
  if (rhs.is_null())
    return out << "<null>";
  return out << rhs.value();
}

}  // namespace streaming
}  // namespace cast