mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
parent
427cb34aca
commit
15da18d900
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ public final class VideoFormatSelectorUtil {
|
||||||
// unnecessarily high resolution given the size at which the video will be displayed within the
|
// unnecessarily high resolution given the size at which the video will be displayed within the
|
||||||
// viewport.
|
// viewport.
|
||||||
for (int i = selectedIndexList.size() - 1; i >= 0; i--) {
|
for (int i = selectedIndexList.size() - 1; i >= 0; i--) {
|
||||||
Format format = formatWrappers.get(i).getFormat();
|
Format format = formatWrappers.get(selectedIndexList.get(i)).getFormat();
|
||||||
if (format.width > 0 && format.height > 0
|
if (format.width > 0 && format.height > 0
|
||||||
&& format.width * format.height > maxVideoPixelsToRetain) {
|
&& format.width * format.height > maxVideoPixelsToRetain) {
|
||||||
selectedIndexList.remove(i);
|
selectedIndexList.remove(i);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue