mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 18:00:02 +01:00
Restrict StreamingTranscoder usage to feature flag.
This commit is contained in:
committed by
Cody Henthorne
parent
84a2832a65
commit
b152723ed2
@@ -221,7 +221,7 @@ public final class AttachmentCompressionJob extends BaseJob {
|
||||
options = new TranscoderOptions(transformProperties.getVideoTrimStartTimeUs(), transformProperties.getVideoTrimEndTimeUs());
|
||||
}
|
||||
|
||||
if (FeatureFlags.useStreamingVideoMuxer() || !MemoryFileDescriptor.supported()) {
|
||||
if (FeatureFlags.useStreamingVideoMuxer()) {
|
||||
StreamingTranscoder transcoder = new StreamingTranscoder(dataSource, options, constraints.getCompressedVideoMaxSize(context));
|
||||
|
||||
if (transcoder.isTranscodeRequired()) {
|
||||
|
||||
Reference in New Issue
Block a user