What would you do if you were on a plane that's having engine trouble?

The people on Thursday's JetBlue Flight 1416 from Long Beach, Calif., to Austin, Texas, had the chance to answer that question.

About 10 minutes into the flight, the second engine gave out and the pilot had to turn around. This video documents the scary moments that followed.

But while smoke filled the plane, one guy decided to take what he may have thought was the last selfie of his life (you can see him at the three-second mark), while another guy appears to smile through his oxygen mask and wave.

It's clearly a frightening scene (just take a listen to the screaming baby).

As it turns out, the passengers and crew were all safe. But it's good to know that in moments when our mortality is on display, some of us focus on the important things.

More From 94.5 KATS