mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Implemented the cStatus, cDevice and cPlayer functions for setting subtitle tracks in plugins
This commit is contained in:
8
status.c
8
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))
|
||||
|
Reference in New Issue
Block a user