1 // Copyright 2013 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef MEDIA_MP2T_MP2T_COMMON_H_ 6 #define MEDIA_MP2T_MP2T_COMMON_H_ 7 8 #define LOG_LEVEL_TS 5 9 #define LOG_LEVEL_PES 4 10 #define LOG_LEVEL_ES 3 11 12 #define RCHECK(x) \ 13 do { \ 14 if (!(x)) { \ 15 DLOG(WARNING) << "Failure while parsing Mpeg2TS: " << #x; \ 16 return false; \ 17 } \ 18 } while (0) 19 20 #endif 21 22