Use correct clock when checking whether to write a new PCR
authorJan Schmidt <thaytan@noraisin.net>
Sat, 26 Mar 2011 05:12:18 +0000 (16:12 +1100)
committerJan Schmidt <thaytan@noraisin.net>
Sat, 26 Mar 2011 05:18:22 +0000 (16:18 +1100)
commit5111540ceb04fbbfdb01b2c64911e04dbae291a8
treefe145b10883e27e519a617a6cffad18a5b4bd9ac
parent9a26173a57b05ecb497fe1fca0168b5cbd4c0167
Use correct clock when checking whether to write a new PCR

The PCR clocks against the 27MHz SCR clock, so check it correctly
to avoid writing the PCR too often.

Partially fixes: #611046
gst/mpegtsmux/tsmux/tsmux.c