mirror of
https://github.com/MaintainTeam/LastPipeBender.git
synced 2025-03-02 22:38:20 +03:00
add missing change after updating NPE
use +webm_opus instead of +opus
This commit is contained in:
parent
5a2cd93d13
commit
03939555ac
1 changed files with 3 additions and 1 deletions
|
@ -52,10 +52,12 @@ public class SecondaryStreamHelper<T extends Stream> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (m4v) return null;
|
||||||
|
|
||||||
// retry, but this time in reverse order
|
// retry, but this time in reverse order
|
||||||
for (int i = audioStreams.size() - 1; i >= 0; i--) {
|
for (int i = audioStreams.size() - 1; i >= 0; i--) {
|
||||||
AudioStream audio = audioStreams.get(i);
|
AudioStream audio = audioStreams.get(i);
|
||||||
if (audio.getFormat() == (m4v ? MediaFormat.MP3 : MediaFormat.OPUS)) {
|
if (audio.getFormat() == MediaFormat.WEBMA_OPUS) {
|
||||||
return audio;
|
return audio;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue