mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Remove FrameEditor reference.
PiperOrigin-RevId: 436702840
This commit is contained in:
parent
5964312b29
commit
4e248cb6f1
1 changed files with 3 additions and 3 deletions
|
|
@ -109,7 +109,7 @@ import org.checkerframework.dataflow.qual.Pure;
|
||||||
|| inputFormat.height != encoderSupportedFormat.height
|
|| inputFormat.height != encoderSupportedFormat.height
|
||||||
|| inputFormat.width != encoderSupportedFormat.width
|
|| inputFormat.width != encoderSupportedFormat.width
|
||||||
|| scaleToFitFrameProcessor.shouldProcess()
|
|| scaleToFitFrameProcessor.shouldProcess()
|
||||||
|| shouldAlwaysUseFrameEditor()) {
|
|| shouldAlwaysUseFrameProcessorChain()) {
|
||||||
// TODO(b/218488308): Allow the final GlFrameProcessor to be re-configured if its output size
|
// TODO(b/218488308): Allow the final GlFrameProcessor to be re-configured if its output size
|
||||||
// has to change due to encoder fallback or append another GlFrameProcessor.
|
// has to change due to encoder fallback or append another GlFrameProcessor.
|
||||||
frameProcessorSizes.set(
|
frameProcessorSizes.set(
|
||||||
|
|
@ -287,8 +287,8 @@ import org.checkerframework.dataflow.qual.Pure;
|
||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Always use {@link FrameEditor} to work around device-specific encoder issues. */
|
/** Always use {@link FrameProcessorChain} to work around device-specific encoder issues. */
|
||||||
private static boolean shouldAlwaysUseFrameEditor() {
|
private static boolean shouldAlwaysUseFrameProcessorChain() {
|
||||||
switch (Util.MODEL) {
|
switch (Util.MODEL) {
|
||||||
case "XT1635-02":
|
case "XT1635-02":
|
||||||
case "Nexus 5":
|
case "Nexus 5":
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue