tools: Fix relative track switching
authorEdward Hervey <edward@centricular.com>
Wed, 20 Jan 2016 12:42:31 +0000 (13:42 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Thu, 21 Jan 2016 13:30:46 +0000 (14:30 +0100)
commit4e2c7af46c75f1541a5f056c503305a3573206a6
tree61d9ce3b3eb666fa584e65bce971b6d38e4b69c2
parentc7df116a3c9a8b2aab13635f64341981b1c44bba
tools: Fix relative track switching

I have no idea where that "-2" came from, but it was obviously wrong.
Just use modulo "total number of streams" to get the proper track id.
validate/tools/gst-validate.c