mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2026-05-16 04:52:39 +02:00
Merge branch 'master' of gitlab.futo.org:videostreaming/grayjay
This commit is contained in:
@@ -445,7 +445,8 @@ fun addressScore(addr: InetAddress): Int {
|
|||||||
fun <T> Enumeration<T>.toList(): List<T> = Collections.list(this)
|
fun <T> Enumeration<T>.toList(): List<T> = Collections.list(this)
|
||||||
|
|
||||||
fun <T> RequestBuilder<T>.withMaxSizePx(maxSizePx: Int = 1920): RequestBuilder<T> {
|
fun <T> RequestBuilder<T>.withMaxSizePx(maxSizePx: Int = 1920): RequestBuilder<T> {
|
||||||
return this/*
|
return this;
|
||||||
.downsample(DownsampleStrategy.AT_MOST)
|
//.downsample(DownsampleStrategy.AT_MOST)
|
||||||
.override(maxSizePx, maxSizePx)*/
|
//.override(maxSizePx, maxSizePx)
|
||||||
|
//.centerInside()
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user