From ac6dc52c2582862be1d3de9ff67d4fa39e13aef5 Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Thu, 9 Nov 2023 21:14:48 +0400 Subject: [PATCH] Fix --- submodules/LegacyComponents/Sources/TGMediaVideoConverter.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/LegacyComponents/Sources/TGMediaVideoConverter.m b/submodules/LegacyComponents/Sources/TGMediaVideoConverter.m index 86190fd87f..15189ec41f 100644 --- a/submodules/LegacyComponents/Sources/TGMediaVideoConverter.m +++ b/submodules/LegacyComponents/Sources/TGMediaVideoConverter.m @@ -241,7 +241,7 @@ SAtomic *context = [[SAtomic alloc] initWithValue:[TGMediaVideoConversionContext contextWithQueue:queue subscriber:subscriber]]; NSURL *outputUrl = [NSURL fileURLWithPath:path]; - NSString *path = TGComponentsPathForResource(@"blank", @"mp4"); + NSString *path = TGComponentsPathForResource(@"BlankVideo", @"m4v"); AVAsset *avAsset = [[AVURLAsset alloc] initWithURL:[NSURL fileURLWithPath:path] options:nil]; NSArray *requiredKeys = @[ @"tracks", @"duration", @"playable" ];