improving video encoding
This commit is contained in:
parent
de0a5be100
commit
9bbcc355d4
|
@ -885,8 +885,9 @@ class UpdateStatusTask(
|
|||
retriever.releaseSafe()
|
||||
}
|
||||
|
||||
if (videoLimit.checkGeometry(geometry.x, geometry.y) && videoLimit.checkFrameRate(framerate)
|
||||
&& videoLimit.checkSize(size, chucked)) {
|
||||
if (geometry.x > 0 && geometry.y > 0 && videoLimit.checkGeometry(geometry.x, geometry.y)
|
||||
&& framerate > 0 && videoLimit.checkFrameRate(framerate)
|
||||
&& size > 0 && videoLimit.checkSize(size, chucked)) {
|
||||
// Size valid, upload directly
|
||||
DebugLog.d(LOGTAG, "Upload video directly")
|
||||
return null
|
||||
|
|
Loading…
Reference in New Issue