Skip to content

Commit a57b557

Browse files
authored
[video_player_avplay] Update the way to call the SetDisplay API (#1018)
1 parent 4a65cfe commit a57b557

4 files changed

Lines changed: 7 additions & 3 deletions

File tree

packages/video_player_avplay/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.8.10
2+
3+
* Update the way to call the `SetDisplay` API.
4+
15
## 0.8.9
26

37
* [DASH] Fix seek freeze issue.

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.8.9
15+
video_player_avplay: ^0.8.10
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.8.9
5+
version: 0.8.10
66

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

packages/video_player_avplay/tizen/src/plus_player.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ bool PlusPlayer::SetDisplay() {
440440
return false;
441441
}
442442
bool ret = ::SetDisplay(player_, plusplayer::DisplayType::kOverlay,
443-
resource_id, x, y, width, height);
443+
resource_id, 0, 0, width, height);
444444
if (!ret) {
445445
LOG_ERROR("[PlusPlayer] Player fail to set display.");
446446
return false;

0 commit comments

Comments
 (0)