mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-29 22:20:33 +00:00
commented out debug output
This commit is contained in:
parent
bc90c75176
commit
3106db0379
@ -370,7 +370,7 @@ namespace MWRender
|
||||
mTimer.reset ();
|
||||
|
||||
//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(
|
||||
@ -486,12 +486,13 @@ namespace MWRender
|
||||
{
|
||||
if (packet.stream_index == mVideoStreamId)
|
||||
{
|
||||
// I don't believe this is necessary.
|
||||
/*
|
||||
if(curTime==0)
|
||||
if(mClock==0)
|
||||
{
|
||||
curTime = packet.dts;
|
||||
curTime *= av_q2d(m_pVideoSt->time_base);
|
||||
std::cout << "Initializing curtime to: " << curTime << std::endl;
|
||||
mClock = packet.dts;
|
||||
mClock *= av_q2d(mVideoStream->time_base);
|
||||
std::cout << "Initializing clock to: " << mClock << std::endl;
|
||||
}
|
||||
*/
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user