mirror of
https://github.com/ente-io/ente.git
synced 2025-08-14 02:07:33 +00:00
[mob] Expose and log video metadata
This commit is contained in:
@@ -14,7 +14,7 @@ class FFProbeUtil {
|
||||
static Future<FFProbeProps> getProperties(
|
||||
MediaInformation mediaInformation,
|
||||
) async {
|
||||
final properties = await _getMetadata(mediaInformation);
|
||||
final properties = await getMetadata(mediaInformation);
|
||||
|
||||
try {
|
||||
return FFProbeProps.fromJson(properties);
|
||||
@@ -28,7 +28,7 @@ class FFProbeUtil {
|
||||
}
|
||||
}
|
||||
|
||||
static Future<Map> _getMetadata(MediaInformation information) async {
|
||||
static Future<Map> getMetadata(MediaInformation information) async {
|
||||
final props = information.getAllProperties();
|
||||
if (props == null) return {};
|
||||
|
||||
|
Reference in New Issue
Block a user