This commit is contained in:
Francis Lavoie 2026-07-10 09:11:01 -07:00 • committed by GitHub
commit acb855ad73
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 10 additions and 6 deletions

View file

@ -886,7 +886,7 @@ abstract class NativeVideoStoreBase
}
_highLatencyCount = 0;
final newLatency = '${rounded}s';
final newLatency = '${seconds.toStringAsFixed(2)}s';
if (newLatency != _latency) {
runInAction(() {
_latency = newLatency;

View file

@ -101,9 +101,9 @@ packages:
dependency: "direct main"
description:
path: "."
ref: frosty-patches
resolved-ref: "6460859318b7b44034fe44016cddff02d0bd4c0a"
url: "https://github.com/tommyxchow/flutter-native-video-player.git"
ref: background-playback
resolved-ref: d47ef9adb692fbe99ed4e3a00d9912cfe6b8ce3d
url: "https://github.com/francislavoie/flutter-native-video-player.git"
source: git
version: "0.4.11"
boolean_selector:

View file

@ -81,8 +81,12 @@ dependencies:
native_device_orientation: ^2.1.0
better_native_video_player:
git:
url: https://github.com/tommyxchow/flutter-native-video-player.git
ref: frosty-patches
# TEMP: points at francislavoie's fork while developing the
# background-playback foreground service. Revert to
# tommyxchow/flutter-native-video-player @ frosty-patches once the
# change is merged upstream. Branch is based on the same pinned ref.
url: https://github.com/francislavoie/flutter-native-video-player.git
ref: background-playback
dev_dependencies:
flutter_test: