minor
This commit is contained in:
parent
8f0ae0e79e
commit
dc061e89e6
2 changed files with 0 additions and 10 deletions
|
@ -118,11 +118,6 @@ class PlatformMediaEditService implements MediaEditService {
|
||||||
required String destinationAlbum,
|
required String destinationAlbum,
|
||||||
required NameConflictStrategy nameConflictStrategy,
|
required NameConflictStrategy nameConflictStrategy,
|
||||||
}) {
|
}) {
|
||||||
// TODO TLAD remove log when OOMs are inspected
|
|
||||||
entries.where((v) => (v.sizeBytes ?? 0) > 20000000).forEach((entry) {
|
|
||||||
reportService.log('convert large entry=$entry size=${entry.sizeBytes}');
|
|
||||||
});
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
return _opStream
|
return _opStream
|
||||||
.receiveBroadcastStream(<String, dynamic>{
|
.receiveBroadcastStream(<String, dynamic>{
|
||||||
|
|
|
@ -80,11 +80,6 @@ class PlatformMetadataEditService implements MetadataEditService {
|
||||||
Map<MetadataType, dynamic> metadata, {
|
Map<MetadataType, dynamic> metadata, {
|
||||||
bool autoCorrectTrailerOffset = true,
|
bool autoCorrectTrailerOffset = true,
|
||||||
}) async {
|
}) async {
|
||||||
// TODO TLAD remove log when OOMs are inspected
|
|
||||||
if ((entry.sizeBytes ?? 0) > 20000000) {
|
|
||||||
await reportService.log('edit metadata of large entry=$entry size=${entry.sizeBytes}');
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
final result = await _platform.invokeMethod('editMetadata', <String, dynamic>{
|
final result = await _platform.invokeMethod('editMetadata', <String, dynamic>{
|
||||||
'entry': entry.toPlatformEntryMap(),
|
'entry': entry.toPlatformEntryMap(),
|
||||||
|
|
Loading…
Reference in a new issue