Implemented the cStatus, cDevice and cPlayer functions for setting subtitle tracks in plugins

This commit is contained in:
Klaus Schmidinger
2008-02-16 13:59:09 +01:00
parent 741400fa66
commit 6b35173789
8 changed files with 36 additions and 7 deletions

View File

@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: status.c 1.8 2005/12/31 15:10:10 kls Exp $
* $Id: status.c 1.9 2008/02/16 13:50:15 kls Exp $
*/
#include "status.h"
@@ -59,6 +59,12 @@ void cStatus::MsgSetAudioChannel(int AudioChannel)
sm->SetAudioChannel(AudioChannel);
}
void cStatus::MsgSetSubtitleTrack(int Index, const char * const *Tracks)
{
for (cStatus *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm))
sm->SetSubtitleTrack(Index, Tracks);
}
void cStatus::MsgOsdClear(void)
{
for (cStatus *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm))