| // Copyright 2020 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // https://github.com/WICG/web-codecs |
| |
| [ImplementedAs=ImageTrackExternal] |
| dictionary ImageTrack { |
| // Numeric identifier which can be provided to ImageDecoder::selectTrack(). |
| required unsigned long id; |
| |
| // Indicates that this track has more than one frame. |
| required boolean animated; |
| |
| // TODO: Other metadata like frame size, kind, and label? Selected status? |
| }; |