diff --git a/flutter/flutter/README.md b/flutter/flutter/README.md index e6474c2..fac2c5c 100644 --- a/flutter/flutter/README.md +++ b/flutter/flutter/README.md @@ -211,7 +211,7 @@ The following table shows Android API level, iOS deployment target and macOS dep FFprobeKit.getMediaInformation('').then((session) async { final information = await session.getMediaInformation(); - if (information == null) { + if (information != null) { // CHECK THE FOLLOWING ATTRIBUTES ON ERROR final state = FFmpegKitConfig.sessionStateToString(await session.getState());