fix the signature of getMediaInformation method

This commit is contained in:
Taner Sener 2022-01-02 19:29:32 +00:00
parent 8a00606604
commit 2febafd5e6
3 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
## 0.2.1
- Fixes the signature of getMediaInformation method
## 0.2.0 ## 0.2.0
- Implements execute methods - Implements execute methods
- Merges existing getSafParameter methods into a single method with a new openMode parameter - Merges existing getSafParameter methods into a single method with a new openMode parameter

View File

@ -356,7 +356,7 @@ class MethodChannelFFmpegKit extends FFmpegKitPlatform {
Future<Map<dynamic, dynamic>?> mediaInformationSessionGetMediaInformation( Future<Map<dynamic, dynamic>?> mediaInformationSessionGetMediaInformation(
int? sessionId) async => int? sessionId) async =>
_channel.invokeMethod<Map<dynamic, dynamic>>( _channel.invokeMethod<Map<dynamic, dynamic>>(
'getMediaInformation(', {'sessionId': sessionId}); 'getMediaInformation', {'sessionId': sessionId});
@override @override
Future<String?> getPackageName() async => Future<String?> getPackageName() async =>

View File

@ -5,7 +5,7 @@ issue_tracker: https://github.com/tanersener/ffmpeg-kit/issues
homepage: https://github.com/tanersener/ffmpeg-kit homepage: https://github.com/tanersener/ffmpeg-kit
# NOTE: We strongly prefer non-breaking changes, even at the expense of a # NOTE: We strongly prefer non-breaking changes, even at the expense of a
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes # less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
version: 0.2.0 version: 0.2.1
environment: environment:
sdk: ">=2.12.0 <3.0.0" sdk: ">=2.12.0 <3.0.0"