summaryrefslogtreecommitdiffstats
path: root/libhb/internal.h
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2015-09-04 08:40:43 -0700
committerJohn Stebbins <[email protected]>2015-09-24 09:28:28 -0700
commit78182d366b6f1981bd4300192dc174dd2123f4f5 (patch)
treea64e241a2a597635ca8a6c1a4344e0c6f447fd98 /libhb/internal.h
parent8e38bee64ad60e7e5e53b0b1a4af1b4b4beeb05a (diff)
rendersub: handle mismatched video and subtitle dimensions
The video frame subtitles are meant to be rendered to may not match the actual video we are encoding. So scale to match as needed.
Diffstat (limited to 'libhb/internal.h')
-rw-r--r--libhb/internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libhb/internal.h b/libhb/internal.h
index 0192dab66..bcecc5040 100644
--- a/libhb/internal.h
+++ b/libhb/internal.h
@@ -107,6 +107,8 @@ struct hb_image_format_s
int width;
int height;
int fmt;
+ int window_width;
+ int window_height;
};
struct hb_buffer_s