matroskaenc: Fix writing TRACKDEFAULTFLAG
authorJohn Stebbins <stebbins@jetheaddev.com>
Thu, 22 Aug 2013 15:54:59 +0000 (08:54 -0700)
committerAnton Khirnov <anton@khirnov.net>
Tue, 27 Aug 2013 12:00:31 +0000 (14:00 +0200)
commitf812eeda17e38797df5cb733ce99cdfd829d84ca
treefcbe278455a84b14471088d9eb5306bac1436d08
parent0fb3e1c6ce50ae4366c7e5571f2a8278d7fd6297
matroskaenc: Fix writing TRACKDEFAULTFLAG

The element was only being written when the value == 1.  But the default
value of this element is 1, so this has no useful effect.  This element
needs to be written when the value == 0.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavformat/matroskaenc.c
tests/fate/wavpack.mak
tests/ref/lavf/mkv
tests/ref/seek/lavf-mkv