summaryrefslogtreecommitdiff
path: root/status.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2008-02-16 13:59:09 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2008-02-16 13:59:09 +0100
commit6b35173789c2d97fc6b9dadb780a22316f82c7fb (patch)
tree26c434da20b9a824a8e99ac9c672e228ac785904 /status.c
parent741400fa666f9754337652c624e95aa6bdfaf98c (diff)
downloadvdr-6b35173789c2d97fc6b9dadb780a22316f82c7fb.tar.gz
vdr-6b35173789c2d97fc6b9dadb780a22316f82c7fb.tar.bz2
Implemented the cStatus, cDevice and cPlayer functions for setting subtitle tracks in plugins
Diffstat (limited to 'status.c')
-rw-r--r--status.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/status.c b/status.c
index 4a7da49a..42334fa9 100644
--- a/status.c
+++ b/status.c
@@ -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))