disable mp4_write on v2 since it is already built in and enabled

This commit is contained in:
Alfonso Gamboa 2022-05-25 23:54:28 -07:00
parent 0b4f7edf6e
commit e0b2584120

View File

@ -348,8 +348,12 @@ else
fi
if [[ "$ENABLE_MP4_WRITE" == "true" ]]; then
/opt/wz_mini/bin/cmd mp4write on
echo "mp4 write enabled"
if [[ "$V2" == "true" ]]; then
echo "mp4_write not supported on v2"
else
/opt/wz_mini/bin/cmd mp4write on
echo "mp4_write enabled"
fi
else
echo "mp4 write disabled"
fi