1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 12:23:51 +00:00

commented out debug output

This commit is contained in:
scrawl 2012-12-03 17:41:38 +01:00
parent bc90c75176
commit 3106db0379

View file

@ -370,7 +370,7 @@ namespace MWRender
mTimer.reset (); mTimer.reset ();
//UpdateAudio(fTime); //UpdateAudio(fTime);
std::cout << "num packets: " << mVideoPacketQueue.getNumPackets() << " clocks: " << mVideoClock << " , " << mClock << std::endl; //std::cout << "num packets: " << mVideoPacketQueue.getNumPackets() << " clocks: " << mVideoClock << " , " << mClock << std::endl;
while (!mVideoPacketQueue.isEmpty() && mVideoClock < mClock) while (!mVideoPacketQueue.isEmpty() && mVideoClock < mClock)
{ {
while( while(
@ -486,12 +486,13 @@ namespace MWRender
{ {
if (packet.stream_index == mVideoStreamId) if (packet.stream_index == mVideoStreamId)
{ {
// I don't believe this is necessary.
/* /*
if(curTime==0) if(mClock==0)
{ {
curTime = packet.dts; mClock = packet.dts;
curTime *= av_q2d(m_pVideoSt->time_base); mClock *= av_q2d(mVideoStream->time_base);
std::cout << "Initializing curtime to: " << curTime << std::endl; std::cout << "Initializing clock to: " << mClock << std::endl;
} }
*/ */