comparison libmpdemux/matroska.h @ 14561:a226d301eec1

Handle missing palettes in the info part of VobSubs in Matroska files correctly by giving mplayer a NULL pointer. This way it will use a default palette instead of black only. Patch by Csillag Kristof (fenwick () freemail ! hu)
author mosu
date Fri, 21 Jan 2005 18:25:44 +0000
parents 6e5956958746
children ab1eb8054890
comparison
equal deleted inserted replaced
14560:1481e9c76eb5 14561:a226d301eec1
57 #define MKV_S_SSA "S_SSA" // Deprecated 57 #define MKV_S_SSA "S_SSA" // Deprecated
58 #define MKV_S_ASS "S_ASS" // Deprecated 58 #define MKV_S_ASS "S_ASS" // Deprecated
59 59
60 typedef struct { 60 typedef struct {
61 char type; // t = text, v = VobSub 61 char type; // t = text, v = VobSub
62 int has_palette; // If we have a valid palette
62 unsigned int palette[16]; // for VobSubs 63 unsigned int palette[16]; // for VobSubs
63 int width, height; // for VobSubs 64 int width, height; // for VobSubs
64 int custom_colors; 65 int custom_colors;
65 unsigned int colors[4]; 66 unsigned int colors[4];
66 int forced_subs_only; 67 int forced_subs_only;