diff options
Diffstat (limited to 'libhb/decsrtsub.c')
-rw-r--r-- | libhb/decsrtsub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/decsrtsub.c b/libhb/decsrtsub.c index da58c9616..ffb737bdf 100644 --- a/libhb/decsrtsub.c +++ b/libhb/decsrtsub.c @@ -697,8 +697,8 @@ static int decsrtInit( hb_work_object_t * w, hb_job_t * job ) if (!retval) { // Generate 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 retval; |