vpxenc: add unique track id
authorJohn Koleszar <jkoleszar@google.com>
Wed, 27 Oct 2010 14:05:55 +0000 (10:05 -0400)
committerJohn Koleszar <jkoleszar@google.com>
Wed, 27 Oct 2010 17:00:29 +0000 (13:00 -0400)
commitc7c0c05608a883830e2e1a77796b2b66656d75d1
tree50c23ed9c87d1d8b23c192bf62274d776c055597
parent927f29a64495fecc244b1eec760f9d2b24d952ad
vpxenc: add unique track id

MKV requires a unique(ish) TrackID element in the track info header.
Instead of the current hard-coded ID, take a hash of the video track
and use that. This value is not written in the deterministic output
mode, despite being a deterministic value itself, to give flexibility
to change the hash algorithm and not affect bisecting across the
change.

Change-Id: I807fc3ea6d1427a151c3ef703269b67e80aef860
vpxenc.c