OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 std::unique_ptr<WebSourceBuffer> m_webSourceBuffer; | 169 std::unique_ptr<WebSourceBuffer> m_webSourceBuffer; |
170 Member<MediaSource> m_source; | 170 Member<MediaSource> m_source; |
171 Member<TrackDefaultList> m_trackDefaults; | 171 Member<TrackDefaultList> m_trackDefaults; |
172 Member<GenericEventQueue> m_asyncEventQueue; | 172 Member<GenericEventQueue> m_asyncEventQueue; |
173 | 173 |
174 AtomicString m_mode; | 174 AtomicString m_mode; |
175 bool m_updating; | 175 bool m_updating; |
176 double m_timestampOffset; | 176 double m_timestampOffset; |
177 Member<AudioTrackList> m_audioTracks; | 177 Member<AudioTrackList> m_audioTracks; |
178 Member<VideoTrackList> m_videoTracks; | 178 Member<VideoTrackList> m_videoTracks; |
179 bool m_activeTrack = false; | |
180 double m_appendWindowStart; | 179 double m_appendWindowStart; |
181 double m_appendWindowEnd; | 180 double m_appendWindowEnd; |
182 bool m_firstInitializationSegmentReceived; | 181 bool m_firstInitializationSegmentReceived; |
183 | 182 |
184 Vector<unsigned char> m_pendingAppendData; | 183 Vector<unsigned char> m_pendingAppendData; |
185 size_t m_pendingAppendDataOffset; | 184 size_t m_pendingAppendDataOffset; |
186 Member<AsyncMethodRunner<SourceBuffer>> m_appendBufferAsyncPartRunner; | 185 Member<AsyncMethodRunner<SourceBuffer>> m_appendBufferAsyncPartRunner; |
187 | 186 |
188 double m_pendingRemoveStart; | 187 double m_pendingRemoveStart; |
189 double m_pendingRemoveEnd; | 188 double m_pendingRemoveEnd; |
190 Member<AsyncMethodRunner<SourceBuffer>> m_removeAsyncPartRunner; | 189 Member<AsyncMethodRunner<SourceBuffer>> m_removeAsyncPartRunner; |
191 | 190 |
192 bool m_streamMaxSizeValid; | 191 bool m_streamMaxSizeValid; |
193 unsigned long long m_streamMaxSize; | 192 unsigned long long m_streamMaxSize; |
194 Member<AsyncMethodRunner<SourceBuffer>> m_appendStreamAsyncPartRunner; | 193 Member<AsyncMethodRunner<SourceBuffer>> m_appendStreamAsyncPartRunner; |
195 Member<Stream> m_stream; | 194 Member<Stream> m_stream; |
196 std::unique_ptr<FileReaderLoader> m_loader; | 195 std::unique_ptr<FileReaderLoader> m_loader; |
197 }; | 196 }; |
198 | 197 |
199 } // namespace blink | 198 } // namespace blink |
200 | 199 |
201 #endif // SourceBuffer_h | 200 #endif // SourceBuffer_h |
OLD | NEW |