Kodi Community Forum

Full Version: Overview of how DVDPlayer functions?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Just wondering if there might be an overview (for developers) anywhere of how the DVDPlayer code functions. I'm not looking for super in depth, but a paragraph or two overview would definitely help me getter a better overall grip of things in my EDL coding endeavours Smile

Looking for info on things like which parts run in separate threads, how do they communicate, what's the general job of each thread, etc.

Thanks,
Harry
You can find all of the EDL related parts by searching for "m_Edl." within DVDPlayer.cpp

At a high level the DVDPlayer runs in a continuous loop. Each loop checks and processes the content of the video and audio data queues. Events can be fired internally that are also checked for each time through the loop, e.g. skip, pause, etc.

The main "looping" area is in CDVDPlayer:Tonguerocess().