summaryrefslogtreecommitdiffstats
path: root/libmpdemux/demuxer.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux/demuxer.h')
-rw-r--r--libmpdemux/demuxer.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libmpdemux/demuxer.h b/libmpdemux/demuxer.h
index 93b43721c4..46642a51a1 100644
--- a/libmpdemux/demuxer.h
+++ b/libmpdemux/demuxer.h
@@ -121,6 +121,16 @@ typedef struct demuxer_info_st {
char *copyright;
} demuxer_info_t;
+typedef struct {
+ char type; // t = text, v = VobSub
+ int has_palette; // If we have a valid palette
+ unsigned int palette[16]; // for VobSubs
+ int width, height; // for VobSubs
+ int custom_colors;
+ unsigned int colors[4];
+ int forced_subs_only;
+} sh_sub_t;
+
#define MAX_A_STREAMS 256
#define MAX_V_STREAMS 256