From 2febafd5e6b521e95cb82ebd4a80a64c95390fdc Mon Sep 17 00:00:00 2001 From: Taner Sener Date: Sun, 2 Jan 2022 19:29:32 +0000 Subject: [PATCH] fix the signature of getMediaInformation method --- flutter/flutter_platform_interface/CHANGELOG.md | 3 +++ .../lib/method_channel_ffmpeg_kit_flutter.dart | 2 +- flutter/flutter_platform_interface/pubspec.yaml | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/flutter/flutter_platform_interface/CHANGELOG.md b/flutter/flutter_platform_interface/CHANGELOG.md index 979c3b1..d88998e 100644 --- a/flutter/flutter_platform_interface/CHANGELOG.md +++ b/flutter/flutter_platform_interface/CHANGELOG.md @@ -1,3 +1,6 @@ +## 0.2.1 +- Fixes the signature of getMediaInformation method + ## 0.2.0 - Implements execute methods - Merges existing getSafParameter methods into a single method with a new openMode parameter diff --git a/flutter/flutter_platform_interface/lib/method_channel_ffmpeg_kit_flutter.dart b/flutter/flutter_platform_interface/lib/method_channel_ffmpeg_kit_flutter.dart index 59dbbc7..9de767f 100644 --- a/flutter/flutter_platform_interface/lib/method_channel_ffmpeg_kit_flutter.dart +++ b/flutter/flutter_platform_interface/lib/method_channel_ffmpeg_kit_flutter.dart @@ -356,7 +356,7 @@ class MethodChannelFFmpegKit extends FFmpegKitPlatform { Future?> mediaInformationSessionGetMediaInformation( int? sessionId) async => _channel.invokeMethod>( - 'getMediaInformation(', {'sessionId': sessionId}); + 'getMediaInformation', {'sessionId': sessionId}); @override Future getPackageName() async => diff --git a/flutter/flutter_platform_interface/pubspec.yaml b/flutter/flutter_platform_interface/pubspec.yaml index a60b334..44ef877 100644 --- a/flutter/flutter_platform_interface/pubspec.yaml +++ b/flutter/flutter_platform_interface/pubspec.yaml @@ -5,7 +5,7 @@ issue_tracker: https://github.com/tanersener/ffmpeg-kit/issues homepage: https://github.com/tanersener/ffmpeg-kit # 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 -version: 0.2.0 +version: 0.2.1 environment: sdk: ">=2.12.0 <3.0.0"