From eaf1efd6606a580993eabb1e3786752db775abbe Mon Sep 17 00:00:00 2001 From: guozhigq Date: Fri, 2 Feb 2024 23:12:04 +0800 Subject: [PATCH] =?UTF-8?q?mod:=20media=5Fkit=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pubspec.lock | 18 +++++++++--------- pubspec.yaml | 35 ++++++++++++++++++++++++++++++++--- 2 files changed, 41 insertions(+), 12 deletions(-) diff --git a/pubspec.lock b/pubspec.lock index 8f8a5cae..485d4b95 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -874,9 +874,9 @@ packages: dependency: "direct main" description: path: media_kit - ref: HEAD - resolved-ref: "285f7919bbf4a7d89a62615b14a3766a171ad575" - url: "https://github.com/media-kit/media-kit" + ref: main + resolved-ref: "63c6ebe8366db7ecfbd13ab9ce76b11dd86dae48" + url: "https://github.com/media-kit/media-kit.git" source: git version: "1.1.10+1" media_kit_libs_android_video: @@ -915,9 +915,9 @@ packages: dependency: "direct main" description: path: "libs/universal/media_kit_libs_video" - ref: HEAD - resolved-ref: "285f7919bbf4a7d89a62615b14a3766a171ad575" - url: "https://github.com/media-kit/media-kit" + ref: main + resolved-ref: "63c6ebe8366db7ecfbd13ab9ce76b11dd86dae48" + url: "https://github.com/media-kit/media-kit.git" source: git version: "1.0.4" media_kit_libs_windows_video: @@ -940,9 +940,9 @@ packages: dependency: "direct main" description: path: media_kit_video - ref: HEAD - resolved-ref: "285f7919bbf4a7d89a62615b14a3766a171ad575" - url: "https://github.com/media-kit/media-kit" + ref: main + resolved-ref: "63c6ebe8366db7ecfbd13ab9ce76b11dd86dae48" + url: "https://github.com/media-kit/media-kit.git" source: git version: "1.2.4" meta: diff --git a/pubspec.yaml b/pubspec.yaml index 3daa7aea..dec17863 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -85,9 +85,21 @@ dependencies: encrypt: ^5.0.3 # 视频播放器 - media_kit: ^1.1.10 # Primary package. - media_kit_video: ^1.2.4 # For video rendering. - media_kit_libs_video: ^1.0.4 + media_kit: + git: + url: https://github.com/media-kit/media-kit.git + ref: main + path: ./media_kit + media_kit_video: + git: + url: https://github.com/media-kit/media-kit.git + ref: main + path: ./media_kit_video + media_kit_libs_video: + git: + url: https://github.com/media-kit/media-kit.git + ref: main + path: ./libs/universal/media_kit_libs_video # 媒体通知 audio_service: ^0.18.13 @@ -179,6 +191,23 @@ dependency_overrides: url: https://github.com/media-kit/media-kit path: libs/universal/media_kit_libs_video +dependency_overrides: + media_kit: + git: + url: https://github.com/media-kit/media-kit.git + ref: main + path: ./media_kit + media_kit_video: + git: + url: https://github.com/media-kit/media-kit.git + ref: main + path: ./media_kit_video + media_kit_libs_video: + git: + url: https://github.com/media-kit/media-kit.git + ref: main + path: ./libs/universal/media_kit_libs_video + flutter_launcher_icons: android: true ios: true