blob: 322d32aff738e79820c86138ac7ca96af06c98ec [file] [log] [blame]
// Copyright 2014 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.
#ifndef COBALT_MEDIA_FORMATS_MP2T_MP2T_COMMON_H_
#define COBALT_MEDIA_FORMATS_MP2T_MP2T_COMMON_H_
#define LOG_LEVEL_TS 5
#define LOG_LEVEL_PES 4
#define LOG_LEVEL_ES 3
#define RCHECK(x) \
do { \
if (!(x)) { \
DLOG(WARNING) << "Failure while parsing Mpeg2TS: " << #x; \
return false; \
} \
} while (0)
namespace cobalt {
namespace media {
namespace mp2t {
const int kMp2tAudioTrackId = 1;
const int kMp2tVideoTrackId = 2;
} // namespace mp2t
} // namespace media
} // namespace cobalt
#endif // COBALT_MEDIA_FORMATS_MP2T_MP2T_COMMON_H_