| 129 | } |
| 130 | |
| 131 | void VideoPreviewState::automaticLoad(Data::FileOrigin origin) const { |
| 132 | Expects(_media != nullptr); |
| 133 | |
| 134 | if (_usingThumbnail) { |
| 135 | _media->videoThumbnailWanted(origin); |
| 136 | } else { |
| 137 | _media->automaticLoad(origin, nullptr); |
| 138 | } |
| 139 | } |
| 140 | |
| 141 | ::Media::Clip::ReaderPointer VideoPreviewState::makeAnimation( |
| 142 | Fn<void(::Media::Clip::Notification)> callback) const { |
nothing calls this directly
no test coverage detected