Skip to content

Commit

Permalink
Mino code cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
hyue7 committed Jan 4, 2024
1 parent cd65756 commit 3d02d85
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/video_player_avplay/tizen/src/plus_player.cc
Original file line number Diff line number Diff line change
Expand Up @@ -305,11 +305,6 @@ bool PlusPlayer::SeekTo(int64_t position, SeekCompletedCallback callback) {
}

on_seek_completed_ = std::move(callback);
plusplayer::PlayerMemento memento;
if (!GetMemento(player_, &memento)) {
LOG_ERROR("[PlusPlayer] Player fail to get memento.");
}

if (!Seek(player_, position)) {
on_seek_completed_ = nullptr;
LOG_ERROR("[PlusPlayer] Player fail to seek.");
Expand All @@ -335,6 +330,7 @@ bool PlusPlayer::IsLive() {
plusplayer::PlayerMemento memento;
if (!GetMemento(player_, &memento)) {
LOG_ERROR("[PlusPlayer] Player fail to get memento.");
return false;
}

return memento.is_live;
Expand Down

0 comments on commit 3d02d85

Please sign in to comment.