OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef MEDIA_WEBM_WEBM_TRACKS_PARSER_H_ | 5 #ifndef MEDIA_WEBM_WEBM_TRACKS_PARSER_H_ |
6 #define MEDIA_WEBM_WEBM_TRACKS_PARSER_H_ | 6 #define MEDIA_WEBM_WEBM_TRACKS_PARSER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 virtual bool OnFloat(int id, double val) OVERRIDE; | 76 virtual bool OnFloat(int id, double val) OVERRIDE; |
77 virtual bool OnBinary(int id, const uint8* data, int size) OVERRIDE; | 77 virtual bool OnBinary(int id, const uint8* data, int size) OVERRIDE; |
78 virtual bool OnString(int id, const std::string& str) OVERRIDE; | 78 virtual bool OnString(int id, const std::string& str) OVERRIDE; |
79 | 79 |
80 int64 track_type_; | 80 int64 track_type_; |
81 int64 track_num_; | 81 int64 track_num_; |
82 std::string track_name_; | 82 std::string track_name_; |
83 std::string track_language_; | 83 std::string track_language_; |
84 std::string codec_id_; | 84 std::string codec_id_; |
85 std::vector<uint8> codec_private_; | 85 std::vector<uint8> codec_private_; |
| 86 int64 seek_pre_roll_; |
| 87 int64 codec_delay_; |
86 scoped_ptr<WebMContentEncodingsClient> track_content_encodings_client_; | 88 scoped_ptr<WebMContentEncodingsClient> track_content_encodings_client_; |
87 | 89 |
88 int64 audio_track_num_; | 90 int64 audio_track_num_; |
89 int64 video_track_num_; | 91 int64 video_track_num_; |
90 bool ignore_text_tracks_; | 92 bool ignore_text_tracks_; |
91 TextTracks text_tracks_; | 93 TextTracks text_tracks_; |
92 std::set<int64> ignored_tracks_; | 94 std::set<int64> ignored_tracks_; |
93 std::string audio_encryption_key_id_; | 95 std::string audio_encryption_key_id_; |
94 std::string video_encryption_key_id_; | 96 std::string video_encryption_key_id_; |
95 LogCB log_cb_; | 97 LogCB log_cb_; |
96 | 98 |
97 WebMAudioClient audio_client_; | 99 WebMAudioClient audio_client_; |
98 AudioDecoderConfig audio_decoder_config_; | 100 AudioDecoderConfig audio_decoder_config_; |
99 | 101 |
100 WebMVideoClient video_client_; | 102 WebMVideoClient video_client_; |
101 VideoDecoderConfig video_decoder_config_; | 103 VideoDecoderConfig video_decoder_config_; |
102 | 104 |
103 DISALLOW_COPY_AND_ASSIGN(WebMTracksParser); | 105 DISALLOW_COPY_AND_ASSIGN(WebMTracksParser); |
104 }; | 106 }; |
105 | 107 |
106 } // namespace media | 108 } // namespace media |
107 | 109 |
108 #endif // MEDIA_WEBM_WEBM_TRACKS_PARSER_H_ | 110 #endif // MEDIA_WEBM_WEBM_TRACKS_PARSER_H_ |
OLD | NEW |