Former-commit-id: 89a17ce49669305dee32752eb99ac5a22637cad8
This commit is contained in:
Daniel Løvbrøtte Olsen 2020-04-20 22:28:45 +02:00
parent 588cad7a93
commit f83085c9bc

View File

@ -83,16 +83,16 @@ while true; do
pix_fmt=`echo $job | jq -r .description.options.pix_fmt` pix_fmt=`echo $job | jq -r .description.options.pix_fmt`
if [[ $pix_fmt = "YV12" ]]; then if [[ $pix_fmt = "YV12" ]]; then
ffpix="yv12p" ffpix="yuv12p"
aompix="--yv12" aompix="--yv12"
elif [[ $pix_fmt = "I420" ]]; then elif [[ $pix_fmt = "I420" ]]; then
ffpix="yv420p" ffpix="yuv420p"
aompix="--i420" aompix="--i420"
elif [[ $pix_fmt = I422 ]]; then elif [[ $pix_fmt = I422 ]]; then
ffpix="yv422p" ffpix="yuv422p"
aompix="--i422" aompix="--i422"
elif [[ $pix_fmt = I444 ]]; then elif [[ $pix_fmt = I444 ]]; then
ffpix="yv444p" ffpix="yuv444p"
aompix="--i444" aompix="--i444"
fi fi