Skip to content

Commit e6c84ff

Browse files
Fix the encoding format error
1 parent 727a76b commit e6c84ff

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

library/src/main/java/com/pedro/library/base/StreamBase.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,7 @@ abstract class StreamBase(
129129
}
130130
differentRecordResolution = true
131131
}
132-
val videoResult = videoSource.init(
133-
max(width, recordWidth),
134-
max(height, recordHeight), fps, rotation)
132+
val videoResult = videoSource.init(max(width, recordWidth), max(height, recordHeight), fps, rotation)
135133
if (videoResult) {
136134
if (differentRecordResolution) {
137135
//using different record resolution

0 commit comments

Comments
 (0)