summaryrefslogtreecommitdiffstats
path: root/libhb/muxmp4.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/muxmp4.c')
-rw-r--r--libhb/muxmp4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/muxmp4.c b/libhb/muxmp4.c
index 3c878fdfc..bc523f836 100644
--- a/libhb/muxmp4.c
+++ b/libhb/muxmp4.c
@@ -528,7 +528,7 @@ static int MP4Init( hb_mux_object_t * m )
mux_data->subtitle = 1;
mux_data->sub_format = subtitle->format;
- mux_data->track = MP4AddSubpicTrack( m->file, 90000, title->width, title->height );
+ mux_data->track = MP4AddSubpicTrack( m->file, 90000, subtitle->width, subtitle->height );
MP4SetTrackLanguage(m->file, mux_data->track, subtitle->iso639_2);