We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e11aa38 commit 8ad426eCopy full SHA for 8ad426e
1 file changed
library/src/commonMain/kotlin/project/pipepipe/app/helper/FormatHelper.kt
@@ -64,7 +64,7 @@ object FormatHelper {
64
* Format video display label with codec, resolution, and optional frame rate
65
*/
66
fun formatVideoLabel(codecName: String, resolution: String, frameRate: Float? = null): String {
67
- return if (frameRate != null && frameRate.toInt() != 30) {
+ return if (frameRate != null && frameRate.toInt() > 30) {
68
"$codecName $resolution${frameRate.toInt()}"
69
} else {
70
"$codecName $resolution"
0 commit comments