MKV support, can it be added?
#1
if we can help with anything, like mplayer rpms for a certain distro or the like, let us know ....
Reply
#2
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
XBMC Project Founder (Retired), now head programmer of MediaPortal
Reply

Logout Mark Read Team Forum Stats Members Help
MKV support, can it be added?0