summaryrefslogtreecommitdiffstats
path: root/libhb/muxavformat.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2015-02-24 21:40:24 +0000
committerjstebbins <[email protected]>2015-02-24 21:40:24 +0000
commit7e6a28f65c7670a9928fd2b8e72aa247d900db28 (patch)
tree259a3618d1b98147a1e572ec71df1410b7702b25 /libhb/muxavformat.c
parent0b3c9ac8927fccec68069665312d14336e6f0769 (diff)
mkv: mark "default" subtitle tracks with both default and forced flags
Makes "default" do the right thing in plex git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6941 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/muxavformat.c')
-rw-r--r--libhb/muxavformat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libhb/muxavformat.c b/libhb/muxavformat.c
index 13f9e9832..389277319 100644
--- a/libhb/muxavformat.c
+++ b/libhb/muxavformat.c
@@ -776,7 +776,8 @@ static int avformatInit( hb_mux_object_t * m )
if ( ii == subtitle_default )
{
- track->st->disposition |= AV_DISPOSITION_DEFAULT;
+ track->st->disposition |= AV_DISPOSITION_DEFAULT |
+ AV_DISPOSITION_FORCED;
}
lang = lookup_lang_code(job->mux, subtitle->iso639_2 );