summaryrefslogtreecommitdiffstats
path: root/libhb/muxmkv.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-02-07 20:51:56 +0000
committerjstebbins <[email protected]>2009-02-07 20:51:56 +0000
commite484e36b1b8504ee0e49bde340ab7c76512a768a (patch)
tree2fe3a4a58041a27e25b9939666e2254293410ed4 /libhb/muxmkv.c
parent77651fa029ebc39249f5f99dc1ef90cc7fff717c (diff)
only mark first audio track as default in mkv.
all tracks were getting marked which caused the last track to be chosen for playback by popcorn hour a-100 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2129 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/muxmkv.c')
-rw-r--r--libhb/muxmkv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libhb/muxmkv.c b/libhb/muxmkv.c
index a68e6896d..79d8f2356 100644
--- a/libhb/muxmkv.c
+++ b/libhb/muxmkv.c
@@ -213,6 +213,10 @@ static int MKVInit( hb_mux_object_t * m )
track->flagDefault = 1;
default_track_flag = 0;
}
+ else
+ {
+ track->flagDefault = 0;
+ }
track->flagEnabled = 1;
track->trackType = MK_TRACK_AUDIO;
track->language = audio->config.lang.iso639_2;