MKV support, can it be added? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +--- Thread: MKV support, can it be added? (/showthread.php?tid=824) |
- ChristianHJW - 2003-12-31 if we can help with anything, like mplayer rpms for a certain distro or the like, let us know .... - Frodo - 2003-12-31 i looked into .mkv support already but although it sounds simple its pretty hard 2 support it lemme explain what's the problem, maybe some c/c++ wizard can help me out here: first some facts: 1. mplayer.dll is written in c 2. it gets compiled using gcc with ming/msys 3. it uses the standard c runtime which is normally provided by msvcrt.dll / kernel32.dll 4. since the xbox doesnt support dll's xbmc emulates the msvcrt & kernel32.dll for mplayer.dll to get things to work this means that if mplayer.dll is calling for example malloc() the malloc is executed by xbmc's code so far so good. now matroska. i can add matroska to mplayer.dll. however the matroska libraries are written in c++ this means when i add matroska support into mplayer.dll that mplayer.dll now also wants the entire c++ runtime to be emulated by xbmc. this means exception handling, new/delete operators etc etc. to be honest, i've no idea how to do this;-) frodo |