See https://forum.videolan.org/viewtopic.php?f=35&t=157758&sid=96a2dd4e1cf3a63d31d885fa156e54e0#p519341