Skip to content

Commit

Permalink
Add log for seeking failed.
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaowei-guan committed Oct 29, 2024
1 parent fd0ed6e commit caffff8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/video_player_avplay/tizen/src/plus_player.cc
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ int64_t PlusPlayer::Create(const std::string &uri,
create_message.player_options(), "startPosition", 0);
if (start_position > 0) {
LOG_INFO("[PlusPlayer] Start position: %lld", start_position);
Seek(player_, start_position);
if (!Seek(player_, start_position)) {
LOG_INFO("[PlusPlayer] Fail to seek, it's a non-seekable content");
}
}

if (!PrepareAsync(player_)) {
Expand Down

0 comments on commit caffff8

Please sign in to comment.