summaryrefslogtreecommitdiffstats
path: root/libhb/dectx3gsub.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2014-12-16 16:50:50 +0000
committerjstebbins <[email protected]>2014-12-16 16:50:50 +0000
commitf56efd7b52c89da8cac55b4d4a187f2c87fdfee6 (patch)
tree24eacb856704fa8e4b8b8f0edc76568916f70255 /libhb/dectx3gsub.c
parentd0a975e42dcab93e1d2eead350fb1ba3951d977c (diff)
json: add json APIs
There are several changes to job and title structs that break current windows interop code. The interop code should be changed such that it only uses json APIs. So if there is any missing features (or bugs) in these APIs, please let me know. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6602 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/dectx3gsub.c')
-rw-r--r--libhb/dectx3gsub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/dectx3gsub.c b/libhb/dectx3gsub.c
index 9cfc031ac..13955e803 100644
--- a/libhb/dectx3gsub.c
+++ b/libhb/dectx3gsub.c
@@ -248,8 +248,8 @@ static int dectx3gInit( hb_work_object_t * w, hb_job_t * job )
// parse w->subtitle->extradata txg3 sample description into
// SSA format and replace extradata.
// For now we just create a generic SSA Script Info.
- int height = job->title->height - job->crop[0] - job->crop[1];
- int width = job->title->width - job->crop[2] - job->crop[3];
+ int height = job->title->geometry.height - job->crop[0] - job->crop[1];
+ int width = job->title->geometry.width - job->crop[2] - job->crop[3];
hb_subtitle_add_ssa_header(w->subtitle, width, height);
return 0;