OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 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_MPEG2_MPEG2TS_COMMON_H_ | |
6 #define MEDIA_MPEG2_MPEG2TS_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 LOG(WARNING) << "Failure while parsing Mpeg2TS: " << #x; \ | |
acolwell GONE FROM CHROMIUM
2013/09/05 18:29:10
nit: use DVLOG
damienv1
2013/09/09 23:29:45
Use DLOG(WARNING) instead.
| |
16 return false; \ | |
17 } \ | |
18 } while (0) | |
19 | |
20 #endif | |
OLD | NEW |