Stole Oswald's commit.

Fixed progressive ogg glitches mostly.
Removed needless messages in ogg2dtsc.
This commit is contained in:
Thulinma 2013-09-03 16:52:16 +02:00
parent 90436e100d
commit 4fb1a65fa1
2 changed files with 5 additions and 15 deletions

View file

@ -159,7 +159,7 @@ namespace Connector_HTTP {
progressive_has_sent_header = true;
}
//parse DTSC to Ogg here
long long unsigned int temp = Strm.getPacket()["trackid"].asInt();
long long int temp = Strm.getPacket()["trackid"].asInt();
if((prevGran[temp] != Strm.getPacket()["granule"].asInt() || prevGran[temp] == -1) && DTSCBuffer[temp].size() != 0){
curOggPage.readDTSCVector(DTSCBuffer[temp], oggMeta.DTSCID2OGGSerial[temp], oggMeta.DTSCID2seqNum[temp]);
conn.SendNow((char*)curOggPage.getPage(), curOggPage.getPageSize());