summaryrefslogtreecommitdiffstats
path: root/libhb/muxmp4.c
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/muxmp4.c
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/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);