| Index: media/base/video_codecs.h
|
| diff --git a/media/base/video_codecs.h b/media/base/video_codecs.h
|
| index 9d9032ff7508c15aa1f83ab4bde0fdb1287d4c22..188b5449f7906ccb5485122ef6f75563ddde4c0b 100644
|
| --- a/media/base/video_codecs.h
|
| +++ b/media/base/video_codecs.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef MEDIA_BASE_VIDEO_CODECS_H_
|
| #define MEDIA_BASE_VIDEO_CODECS_H_
|
|
|
| +#include <stdint.h>
|
| #include <string>
|
| #include "media/base/media_export.h"
|
|
|
| @@ -65,6 +66,11 @@ enum VideoCodecProfile {
|
| std::string MEDIA_EXPORT GetCodecName(VideoCodec codec);
|
| std::string MEDIA_EXPORT GetProfileName(VideoCodecProfile profile);
|
|
|
| +// Handle parsing AVC/H.264 codec ids as outlined in RFC 6381 and ISO-14496-10.
|
| +MEDIA_EXPORT bool ParseAVCCodecId(const std::string& codec_id,
|
| + VideoCodecProfile* profile,
|
| + uint8_t* level_idc);
|
| +
|
| } // namespace media
|
|
|
| #endif // MEDIA_BASE_VIDEO_CODECS_H_
|
|
|