Skip to content

Commit

Permalink
Remove set looping failed message
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaowei-guan committed May 9, 2024
1 parent 56461df commit d1bb8fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/video_player_avplay/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,4 @@ This plugin has the following limitations.
- The `setPlaybackSpeed` method will fail if triggered within the last 3 seconds of the video.
- The playback speed will reset to 1.0 when the video is replayed in loop mode.
- The `seekTo` method works only when the playback speed is 1.0, and it sets the video position to the nearest keyframe, not the exact value passed.
-
- The `setLooping` method only works when the player's DataSourceType is DataSourceType.asset.
2 changes: 1 addition & 1 deletion packages/video_player_avplay/tizen/src/plus_player.cc
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ bool PlusPlayer::Pause() {

bool PlusPlayer::SetLooping(bool is_looping) {
LOG_ERROR("[PlusPlayer] Not support to set looping.");
return false;
return true;
}

bool PlusPlayer::SetVolume(double volume) {
Expand Down

0 comments on commit d1bb8fa

Please sign in to comment.