| Index: media/formats/webm/webm_cluster_parser.h
|
| diff --git a/media/formats/webm/webm_cluster_parser.h b/media/formats/webm/webm_cluster_parser.h
|
| index 5657e9054701e3115be3025f9e7a1511e5496dee..add21f23f91d432a20efd47cc32bbaa1e8d8bfc1 100644
|
| --- a/media/formats/webm/webm_cluster_parser.h
|
| +++ b/media/formats/webm/webm_cluster_parser.h
|
| @@ -24,6 +24,15 @@ class MEDIA_EXPORT WebMClusterParser : public WebMParserClient {
|
| public:
|
| typedef StreamParser::TrackId TrackId;
|
|
|
| + // Arbitrarily-chosen numbers to estimate the duration of a buffer if none is
|
| + // set and there is not enough information to get a better estimate.
|
| + // TODO(wolenetz/acolwell): Parse audio codebook to determine missing audio
|
| + // frame durations. See http://crbug.com/351166.
|
| + enum {
|
| + kDefaultAudioBufferDurationInMs = 23, // Common 1k samples @44.1kHz
|
| + kDefaultVideoBufferDurationInMs = 42 // Low 24fps to reduce stalls
|
| + };
|
| +
|
| private:
|
| // Helper class that manages per-track state.
|
| class Track {
|
|
|