fix(doc): Get media information for a file/url example

should !=
but there use ==
pull/824/head
chenc 2 years ago committed by GitHub
parent d00f42a904
commit cdbffbd435
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      flutter/flutter/README.md

@ -211,7 +211,7 @@ The following table shows Android API level, iOS deployment target and macOS dep
FFprobeKit.getMediaInformation('<file path or url>').then((session) async { FFprobeKit.getMediaInformation('<file path or url>').then((session) async {
final information = await session.getMediaInformation(); final information = await session.getMediaInformation();
if (information == null) { if (information != null) {
// CHECK THE FOLLOWING ATTRIBUTES ON ERROR // CHECK THE FOLLOWING ATTRIBUTES ON ERROR
final state = FFmpegKitConfig.sessionStateToString(await session.getState()); final state = FFmpegKitConfig.sessionStateToString(await session.getState());

Loading…
Cancel
Save