diff --git a/bili-api/src/main/kotlin/dev/aaa1115910/biliapi/entity/video/VideoShot.kt b/bili-api/src/main/kotlin/dev/aaa1115910/biliapi/entity/video/VideoShot.kt index 5d7e6184..1eae0225 100644 --- a/bili-api/src/main/kotlin/dev/aaa1115910/biliapi/entity/video/VideoShot.kt +++ b/bili-api/src/main/kotlin/dev/aaa1115910/biliapi/entity/video/VideoShot.kt @@ -56,8 +56,8 @@ data class VideoShot( images = images, imageCountX = videoShot.imgXLen, imageCountY = videoShot.imgYLen, - imageWidth = videoShot.imgXSize.takeIf { it > 0 } ?: 160, - imageHeight = videoShot.imgYSize.takeIf { it > 0 } ?: 90 + imageWidth = videoShot.imgXSize, + imageHeight = videoShot.imgYSize ) } }