summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorphintuka <phintuka>2008-03-16 21:40:57 +0000
committerphintuka <phintuka>2008-03-16 21:40:57 +0000
commit3fe8690db7186ccdb455f8bee09333ebe881df51 (patch)
treedd245c7031152fd216fb4c4d4ff92efb0a32a6be /device.h
parent1b3dfe76534fcd68990c6625032059d02dec46c9 (diff)
downloadxineliboutput-3fe8690db7186ccdb455f8bee09333ebe881df51.tar.gz
xineliboutput-3fe8690db7186ccdb455f8bee09333ebe881df51.tar.bz2
Use defines for special suptitle "tracks" auto and none
Implement vdr>=1.5.15 SetSubtitleTrackDevice
Diffstat (limited to 'device.h')
-rw-r--r--device.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/device.h b/device.h
index 3235312f..6fcd8a6d 100644
--- a/device.h
+++ b/device.h
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: device.h,v 1.31 2008-02-20 04:37:52 phintuka Exp $
+ * $Id: device.h,v 1.32 2008-03-16 21:40:57 phintuka Exp $
*
*/
@@ -29,6 +29,9 @@ typedef enum {
mi_Count = 5
} eMetainfoType;
+# define ttXSubtitleNone (-2)
+# define ttXSubtitleAuto (-1)
+
#define MAX_METAINFO_LEN 63
class cXinelibDevice : public cDevice
@@ -145,6 +148,8 @@ class cXinelibDevice : public cDevice
int GetCurrentDvdSpuTrack(void) const { return m_CurrentDvdSpuTrack; }
bool SetCurrentDvdSpuTrack(int Type, bool Force=false);
void EnsureDvdSpuTrack(void);
+#else
+ virtual void SetSubtitleTrackDevice(eTrackType Type);
#endif
const char *GetMetaInfo(eMetainfoType Type);