better_player_windows 1.3.0
better_player_windows: ^1.3.0 copied to clipboard
The Windows implementation of the better_player plugin, providing video playback using libmpv and FFI for Flutter desktop apps.
1.3.0 #
- Fixed: Resolved deadlocks during
TextureBridge::Dispose()by unregistering textures outside mutex lock. - Fixed: Enabled hardware video decoding (
hwdec=auto-safe) in mpv initialization. - Fixed: Resolved orphan player leaks across hot restarts by clearing native players on plugin startup.
- Fixed: Added ClearKey DRM playback support via mpv
decryption_key. - Fixed: Quoted HTTP headers containing commas to prevent incorrect mpv header field splitting.
- Fixed: Supported
bufferingConfigurationby configuringdemuxer-readahead-secsanddemuxer-cache-wait. - Fixed: Respected
overriddenDurationwhen loading data sources and on property updates. - Fixed: Resolved video, audio, and subtitle track selection by matching IDs in
track-list. - Fixed: Resolved local asset path resolution for packaged Flutter desktop executables.
- Added: Supported Linux dynamic library resolution (
libmpv.so.2,libmpv.so.1,libmpv.so) inMpvBindings.
1.2.1 #
- Fixed: Aligned
BetterPlayerWindows.preCachemethod signature withBetterPlayerPlatforminbetter_player_platform_interface1.5.0. - Updated: Bumped
better_player_platform_interfacedependency to^1.5.0.
1.2.0 #
- Fixed: Added disposal state guards across player methods and mpv FFI invocations to prevent invalid pointer access after disposal.
- Fixed: Corrected audio track indexing to map 0-based index to 1-based
aidproperty and disable audio with'no'. - Fixed: Added
hls-bitrateproperty configuration insetTrackParameters. - Fixed: Added
seekandbufferingUpdate(fromdemuxer-cache-time) event emissions and use display dimensionsdwidth/dheightfor video sizing. - Fixed: Cleared mpv render update callback prior to freeing render context in
TextureBridgeto avoid native callback race conditions during shutdown.
1.1.0 #
- Added:
setTextTrackmethod onMpvPlayerto select or disable subtitle and closed caption tracks via mpvsidproperty (#1066). - Added:
sub-textproperty observer emittingcaptionUpdateevents with active subtitle lines.
1.0.1 #
- Added: Better Player logo screenshot and branding metadata for pub.dev package listing.
1.0.0 #
- Added: Initial release of
better_player_windowswith nativelibmpvplayback, pixel buffer texture rendering, FFI bindings, native logging, and HLS/DASH support.
