Draft: demux: mkv: Optimize MKV track selection
Optimize MKV track selection. Instead of looping again and again, make the necessary calculation during insertion.
This also makes the code easier to modify, since all the different tracks are separated.
(Draft: If this idea is acceptable, I intend to move the functions to .hpp)