Skip to content

Commit e6ade58

Browse files
authored
Merge pull request #9 from mhoeckner/master
[video_player_avplay] Fix can not resume issue when re-launch app (flutter-tizen#658)
2 parents dbfd7fd + 772e664 commit e6ade58

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

packages/video_player_avplay/CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
## 0.2.2
2+
3+
* Fix can not resume issue when re-launch app.
4+
15
## 0.2.1
26

3-
* Replace g_idle_add with ecore_pipe
7+
* Replace g_idle_add with ecore_pipe.
48

59
## 0.2.0
610

packages/video_player_avplay/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ To use this package, add `video_player_avplay` as a dependency in your `pubspec.
1212

1313
```yaml
1414
dependencies:
15-
video_player_avplay: ^0.2.1
15+
video_player_avplay: ^0.2.2
1616
```
1717
1818
Then you can import `video_player_avplay` in your Dart code:

packages/video_player_avplay/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: video_player_avplay
22
description: Flutter plugin for displaying inline video on Tizen TV devices.
33
homepage: https://github.com/flutter-tizen/plugins
44
repository: https://github.com/flutter-tizen/plugins/tree/master/packages/video_player_avplay
5-
version: 0.2.1
5+
version: 0.2.2
66

77
environment:
88
sdk: ">=2.18.0 <4.0.0"

packages/video_player_avplay/tizen/src/media_player.cc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -680,9 +680,6 @@ void MediaPlayer::OnPlayCompleted(void *user_data) {
680680
void MediaPlayer::OnInterrupted(player_interrupted_code_e code,
681681
void *user_data) {
682682
LOG_ERROR("[MediaPlayer] Interrupt code: %d.", code);
683-
684-
MediaPlayer *self = static_cast<MediaPlayer *>(user_data);
685-
self->SendError("Interrupted error", "Media player has been interrupted.");
686683
}
687684

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

0 commit comments

Comments
 (0)