浏览代码

set scale to off by default

AlexVinS 11 年之前
父节点
当前提交
18f34e14f8
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. 2 0
      client/CMT.cpp
  2. 1 1
      client/CVideoHandler.cpp

+ 2 - 0
client/CMT.cpp

@@ -779,10 +779,12 @@ void processCommand(const std::string &message)
 //plays intro, ends when intro is over or button has been pressed (handles events)
 void playIntro()
 {
+	CCS->videoh->setScaling(true);
 	if(CCS->videoh->openAndPlayVideo("3DOLOGO.SMK", 60, 40, screen, true))
 	{
 		CCS->videoh->openAndPlayVideo("AZVS.SMK", 60, 80, screen, true);
 	}
+	CCS->videoh->setScaling(false);
 }
 
 void dispose()

+ 1 - 1
client/CVideoHandler.cpp

@@ -72,7 +72,7 @@ CVideoPlayer::CVideoPlayer()
 	// av_register_output_format() / av_register_protocol() instead.
 	av_register_all();
 	
-	doScale = true;
+	doScale = false;
 }
 
 bool CVideoPlayer::open(std::string fname)