Skip to content

Commit

Permalink
fix: 视频播放速度超过4.0就没有声音了 issues #191
Browse files Browse the repository at this point in the history
  • Loading branch information
guozhigq committed Oct 15, 2023
1 parent 7c38340 commit 15947e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/plugin/pl_player/controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,8 @@ class PlPlayerController {
);

var pp = player.platform as NativePlayer;

// 解除倍速限制
await pp.setProperty("af", "scaletempo2=max-speed=8");
// 音轨
if (dataSource.audioSource != '' && dataSource.audioSource != null) {
await pp.setProperty(
Expand Down

0 comments on commit 15947e4

Please sign in to comment.