| 196 | } |
| 197 | |
| 198 | bool PixelStream::rewind() { |
| 199 | if (mType == kStreaming) { |
| 200 | return false; |
| 201 | } |
| 202 | // Rewind to the start of the payload, not the start of the file — |
| 203 | // skips the FLED header on container-formatted streams. |
| 204 | mHandle->seek(mPayloadOffset); |
| 205 | return true; |
| 206 | } |
| 207 | |
| 208 | PixelStream::Type PixelStream::getType() const { |
| 209 | return mType; |