diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-02-19 13:27:51 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-02-19 13:27:51 +0100 |
commit | 47519e0536960f647145969204f1bc421088c329 (patch) | |
tree | e0b2fff0a6f00d9658b21ffc075bdd1873276bb1 /epg.h | |
parent | 1781a77e0b459bcecd8aa77e18bd1bcbad0a745f (diff) | |
download | vdr-47519e0536960f647145969204f1bc421088c329.tar.gz vdr-47519e0536960f647145969204f1bc421088c329.tar.bz2 |
If a recording starts and the channel's audio PID data has more language code information than the EPG's component data, the code from the channel is taken
Diffstat (limited to 'epg.h')
-rw-r--r-- | epg.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -7,7 +7,7 @@ * Original version (as used in VDR before 1.3.0) written by * Robert Schneider <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>. * - * $Id: epg.h 1.31 2006/02/18 14:42:25 kls Exp $ + * $Id: epg.h 1.32 2006/02/19 12:51:41 kls Exp $ */ #ifndef __EPG_H @@ -42,6 +42,7 @@ public: void SetComponent(int Index, const char *s); void SetComponent(int Index, uchar Stream, uchar Type, const char *Language, const char *Description); tComponent *Component(int Index) const { return (Index < numComponents) ? &components[Index] : NULL; } + tComponent *GetComponent(int Index, uchar Stream, uchar Type); // Gets the Index'th component of Stream and Type, skipping other components }; class cSchedule; |