Try fix video nosound

This commit is contained in:
世界 2020-06-18 03:06:52 +08:00
parent 3d5ff26cb2
commit a5f47eacb2
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4
3 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,3 @@
APP_PLATFORM := android-16 APP_PLATFORM := android-16
NDK_TOOLCHAIN_VERSION := clang NDK_TOOLCHAIN_VERSION := clang
APP_SHORT_COMMANDS := true APP_STL := c++_static
APP_STL := c++_static

@ -1 +1 @@
Subproject commit 192d1d34eb3668fa27f433e96036340e1e5077a0 Subproject commit d3b963cc41824a3c5b2758ac896fb23e20a87875

View File

@ -6036,7 +6036,7 @@ public class SendMessagesHelper extends BaseController implements NotificationCe
if (forceDocument) { if (forceDocument) {
videoEditedInfo = null; videoEditedInfo = null;
} else { } else {
videoEditedInfo = info.videoEditedInfo != null ? info.videoEditedInfo : createCompressionSettings(info.path); videoEditedInfo = info.videoEditedInfo;
} }
if (!forceDocument && (videoEditedInfo != null || info.path.endsWith("mp4"))) { if (!forceDocument && (videoEditedInfo != null || info.path.endsWith("mp4"))) {