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 'use strict'; | 5 'use strict'; |
6 | 6 |
7 /** | 7 /** |
8 * @param {MetadataDispatcher} parent Parent object. | 8 * @param {MetadataDispatcher} parent Parent object. |
9 * @constructor | 9 * @constructor |
10 */ | 10 */ |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 // The previous read did not return the next atom header, EOF reached. | 308 // The previous read did not return the next atom header, EOF reached. |
309 this.vlog('EOF @' + filePos); | 309 this.vlog('EOF @' + filePos); |
310 onSuccess(); | 310 onSuccess(); |
311 } | 311 } |
312 } catch (e) { | 312 } catch (e) { |
313 onError(e.toString()); | 313 onError(e.toString()); |
314 } | 314 } |
315 }; | 315 }; |
316 | 316 |
317 MetadataDispatcher.registerParserClass(MpegParser); | 317 MetadataDispatcher.registerParserClass(MpegParser); |
OLD | NEW |