diff options
author | mosu <mosu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-01-21 18:25:44 +0000 |
---|---|---|
committer | mosu <mosu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-01-21 18:25:44 +0000 |
commit | efd53eed6148839234feb81b80c40d645811e038 (patch) | |
tree | 4f9431be9d36b5f77754464b54f2a29b3779f4d2 /libmpdemux/matroska.h | |
parent | 8af443d7d81383d5b767834b9d9ae27a26457b06 (diff) | |
download | mpv-efd53eed6148839234feb81b80c40d645811e038.tar.bz2 mpv-efd53eed6148839234feb81b80c40d645811e038.tar.xz |
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)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14562 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/matroska.h')
-rw-r--r-- | libmpdemux/matroska.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpdemux/matroska.h b/libmpdemux/matroska.h index b2abdb5411..7b89857b11 100644 --- a/libmpdemux/matroska.h +++ b/libmpdemux/matroska.h @@ -59,6 +59,7 @@ 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; |