Ver código fonte

update README

Taner Sener 6 anos atrás
pai
commit
33435d0d4a

+ 1 - 1
README.md

@@ -1,6 +1,6 @@
 # flutter_ffmpeg 
 
-![GitHub release](https://img.shields.io/badge/release-v0.1.1-blue.svg) 
+![GitHub release](https://img.shields.io/badge/release-v0.2.0-blue.svg) 
 ![](https://img.shields.io/pub/v/flutter_ffmpeg.svg)
 
 FFmpeg plugin for Flutter. Supports iOS and Android.

+ 1 - 1
example/android/app/build.gradle

@@ -33,7 +33,7 @@ android {
 
     defaultConfig {
         applicationId "com.arthenica.flutter.ffmpeg.FlutterFFmpegExample"
-        minSdkVersion 21
+        minSdkVersion 24
         targetSdkVersion 28
         versionCode flutterVersionCode.toInteger()
         versionName flutterVersionName

+ 2 - 2
example/lib/flutter_ffmpeg_example.dart

@@ -405,7 +405,7 @@ class FlutterFFmpegTestAppState extends State<MainPage> with TickerProviderState
     String ffmpegCodec = _currentCodec;
 
     // VIDEO CODEC MENU HAS BASIC NAMES, FFMPEG NEEDS LONGER LIBRARY NAMES.
-    if (ffmpegCodec == "h264") {
+    if (ffmpegCodec == "x264") {
       ffmpegCodec = "libx264";
     } else if (ffmpegCodec == "x265") {
       ffmpegCodec = "libx265";
@@ -452,7 +452,7 @@ class FlutterFFmpegTestAppState extends State<MainPage> with TickerProviderState
     List<DropdownMenuItem<String>> items = new List();
 
     items.add(new DropdownMenuItem(value: "mpeg4", child: new Text("mpeg4")));
-    items.add(new DropdownMenuItem(value: "h264", child: new Text("h264")));
+    items.add(new DropdownMenuItem(value: "x264", child: new Text("x264")));
     items.add(new DropdownMenuItem(value: "x265", child: new Text("x265")));
     items.add(new DropdownMenuItem(value: "xvid", child: new Text("xvid")));
     items.add(new DropdownMenuItem(value: "vp8", child: new Text("vp8")));