| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_FORMATS_WEBM_WEBM_STREAM_PARSER_H_ | 5 #ifndef MEDIA_FORMATS_WEBM_WEBM_STREAM_PARSER_H_ |
| 6 #define MEDIA_FORMATS_WEBM_WEBM_STREAM_PARSER_H_ | 6 #define MEDIA_FORMATS_WEBM_WEBM_STREAM_PARSER_H_ |
| 7 | 7 |
| 8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "media/base/audio_decoder_config.h" | 10 #include "media/base/audio_decoder_config.h" |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 InitCB init_cb_; | 69 InitCB init_cb_; |
| 70 NewConfigCB config_cb_; | 70 NewConfigCB config_cb_; |
| 71 NewBuffersCB new_buffers_cb_; | 71 NewBuffersCB new_buffers_cb_; |
| 72 bool ignore_text_tracks_; | 72 bool ignore_text_tracks_; |
| 73 NeedKeyCB need_key_cb_; | 73 NeedKeyCB need_key_cb_; |
| 74 | 74 |
| 75 NewMediaSegmentCB new_segment_cb_; | 75 NewMediaSegmentCB new_segment_cb_; |
| 76 base::Closure end_of_segment_cb_; | 76 base::Closure end_of_segment_cb_; |
| 77 LogCB log_cb_; | 77 LogCB log_cb_; |
| 78 | 78 |
| 79 bool unknown_segment_size_; |
| 80 |
| 79 // True if a new cluster id has been seen and its end has not yet been parsed. | 81 // True if a new cluster id has been seen and its end has not yet been parsed. |
| 80 bool parsing_cluster_; | 82 bool parsing_cluster_; |
| 81 | 83 |
| 82 scoped_ptr<WebMClusterParser> cluster_parser_; | 84 scoped_ptr<WebMClusterParser> cluster_parser_; |
| 83 ByteQueue byte_queue_; | 85 ByteQueue byte_queue_; |
| 84 | 86 |
| 85 DISALLOW_COPY_AND_ASSIGN(WebMStreamParser); | 87 DISALLOW_COPY_AND_ASSIGN(WebMStreamParser); |
| 86 }; | 88 }; |
| 87 | 89 |
| 88 } // namespace media | 90 } // namespace media |
| 89 | 91 |
| 90 #endif // MEDIA_FORMATS_WEBM_WEBM_STREAM_PARSER_H_ | 92 #endif // MEDIA_FORMATS_WEBM_WEBM_STREAM_PARSER_H_ |
| OLD | NEW |