There are three sections to predefine the codecs, which are used by MP!
But for my plugin, I need to know which codec-section is active...
So I searched the source of MP how to find that out!
There are the following methods in g_player:
IsTV
IsRecording
IsDVD
...
So can I say, that when
a) isDVD or isDVDMenu = true, then dvd-codecs are taken
b) is Timeshifting = true, then mytv-codecs are taken
c) any other = true, then movieplayer-codecs are taken
???
Thank you for thinking and replying!!!
Edit:
I think I was on the wrong way...
I could use _currentmedia in g_player!
But which Audio Renderer is used in Radio? The one from Music or the one from TV?
But for my plugin, I need to know which codec-section is active...
So I searched the source of MP how to find that out!
There are the following methods in g_player:
IsTV
IsRecording
IsDVD
...
So can I say, that when
a) isDVD or isDVDMenu = true, then dvd-codecs are taken
b) is Timeshifting = true, then mytv-codecs are taken
c) any other = true, then movieplayer-codecs are taken
???
Thank you for thinking and replying!!!
Edit:
I think I was on the wrong way...
I could use _currentmedia in g_player!
But which Audio Renderer is used in Radio? The one from Music or the one from TV?