mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Use Media::Streaming in EditCaptionBox.
This commit is contained in:
@@ -79,10 +79,8 @@ void SaveValidStartInformation(Information &to, Information &&from) {
|
||||
|
||||
} // namespace
|
||||
|
||||
Player::Player(
|
||||
not_null<Data::Session*> owner,
|
||||
std::shared_ptr<Reader> reader)
|
||||
: _file(std::make_unique<File>(owner, std::move(reader)))
|
||||
Player::Player(std::shared_ptr<Reader> reader)
|
||||
: _file(std::make_unique<File>(std::move(reader)))
|
||||
, _remoteLoader(_file->isRemoteLoader())
|
||||
, _renderFrameTimer([=] { checkNextFrameRender(); }) {
|
||||
}
|
||||
|
Reference in New Issue
Block a user