AFL greats say they wish the sport had done more to stand up for booed Swans legend Adam Goodes, as a documentary on the final years of his football career was broadcast for the first time.

The Final Quarter aired on Channel 10 on Thursday, and was met on social media with admiration for the two-time Brownlow medallist, and shame for the way he was treated before his retirement from AFL in 2015.

Adam Goodes was the victim of horrendous treatment towards the end of his career. Credit:Sebastian Costanzo

After the film, made up solely of archival footage and directed by Ian Darling, players spoke out to say the AFL did not do enough to stand against racism at the time.

Former Swans teammate Jude Bolton said the code's "silence was deafening".