Skip to content

Commit

Permalink
Merge pull request #9 from mhoeckner/master
Browse files Browse the repository at this point in the history
[video_player_avplay] Fix can not resume issue when re-launch app (flutter-tizen#658)
  • Loading branch information
mhoeckner authored Jan 18, 2024
2 parents dbfd7fd + 772e664 commit e6ade58
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
6 changes: 5 additions & 1 deletion packages/video_player_avplay/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
## 0.2.2

* Fix can not resume issue when re-launch app.

## 0.2.1

* Replace g_idle_add with ecore_pipe
* Replace g_idle_add with ecore_pipe.

## 0.2.0

Expand Down
2 changes: 1 addition & 1 deletion packages/video_player_avplay/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ To use this package, add `video_player_avplay` as a dependency in your `pubspec.

```yaml
dependencies:
video_player_avplay: ^0.2.1
video_player_avplay: ^0.2.2
```
Then you can import `video_player_avplay` in your Dart code:
Expand Down
2 changes: 1 addition & 1 deletion packages/video_player_avplay/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: video_player_avplay
description: Flutter plugin for displaying inline video on Tizen TV devices.
homepage: https://github.com/flutter-tizen/plugins
repository: https://github.com/flutter-tizen/plugins/tree/master/packages/video_player_avplay
version: 0.2.1
version: 0.2.2

environment:
sdk: ">=2.18.0 <4.0.0"
Expand Down
3 changes: 0 additions & 3 deletions packages/video_player_avplay/tizen/src/media_player.cc
Original file line number Diff line number Diff line change
Expand Up @@ -680,9 +680,6 @@ void MediaPlayer::OnPlayCompleted(void *user_data) {
void MediaPlayer::OnInterrupted(player_interrupted_code_e code,
void *user_data) {
LOG_ERROR("[MediaPlayer] Interrupt code: %d.", code);

MediaPlayer *self = static_cast<MediaPlayer *>(user_data);
self->SendError("Interrupted error", "Media player has been interrupted.");
}

void MediaPlayer::OnError(int error_code, void *user_data) {
Expand Down

0 comments on commit e6ade58

Please sign in to comment.