From 6b5d7328a81ebfe56b4f4bf05cb520294d0b8753 Mon Sep 17 00:00:00 2001 From: Brooke Vibber Date: Sun, 5 Oct 2025 16:11:15 -0700 Subject: [PATCH] whoops --- pack-vid | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pack-vid b/pack-vid index 88f6fbd..d3634c1 100755 --- a/pack-vid +++ b/pack-vid @@ -320,6 +320,8 @@ function convert( $src, $dest, $options ) { } $filters[] = "scale=w=$scaleWidth:h=$scaleHeight"; if ( $hdr ) { + $filters[] = "format=yuv420p10le"; + } elseif ( $hdrInput ) { $filters[] = "zscale=t=linear:p=709:m=709"; if ( $exposure ) { $filters[] = "exposure=$exposure"; @@ -338,8 +340,6 @@ function convert( $src, $dest, $options ) { if ( $vibrance ) { $filters[] = "vibrance=$vibrance"; } - } elseif ( $hdrInput ) { - $filters[] = "format=yuv420p10le"; } else { $filters[] = "format=yuv420p"; }