Video avatar fixes

This commit is contained in:
Ilya Laktyushin
2020-07-16 17:07:16 +03:00
parent 2abe662fed
commit f041a7df2e
10 changed files with 71 additions and 76 deletions

View File

@@ -904,7 +904,7 @@
if (animated) {
dict[@"isAnimation"] = @true;
if ([adjustments isKindOfClass:[PGPhotoEditorValues class]]) {
dict[@"adjustments"] = [TGVideoEditAdjustments editAdjustmentsWithPhotoEditorValues:(PGPhotoEditorValues *)adjustments];
dict[@"adjustments"] = [TGVideoEditAdjustments editAdjustmentsWithPhotoEditorValues:(PGPhotoEditorValues *)adjustments preset:TGMediaVideoConversionPresetAnimation];
} else {
dict[@"adjustments"] = adjustments;
}