commented out debug output

actorid
scrawl 12 years ago
parent bc90c75176
commit 3106db0379

@ -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;
} }
*/ */

Loading…
Cancel
Save