summaryrefslogtreecommitdiffstats
path: root/libhb/common.h
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2010-05-30 18:15:03 +0000
committerjstebbins <[email protected]>2010-05-30 18:15:03 +0000
commit6c2ab0ec0cef0c3f6cc2771ad28a3d86b8df61e0 (patch)
treebf0d6931b501b89b805bdd967778f7009b189a38 /libhb/common.h
parent4e02d96c397f8912bda8ca975ffc398ccec77ca1 (diff)
preserve vobsub palette, width, and height from mkv and mp4 vobsub tracks
Thanks to davidfster for mp4 palette addition. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3337 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/common.h')
-rw-r--r--libhb/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libhb/common.h b/libhb/common.h
index 204cfdb92..0f9741924 100644
--- a/libhb/common.h
+++ b/libhb/common.h
@@ -512,6 +512,8 @@ struct hb_subtitle_s
// Color lookup table for VOB subtitle tracks. Each entry is in YCbCr format.
// Must be filled out by the demuxer for VOB subtitle tracks.
uint32_t palette[16];
+ int width;
+ int height;
int hits; /* How many hits/occurrences of this subtitle */
int forced_hits; /* How many forced hits in this subtitle */