winlin

fix utest failed bug.

1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE QtCreatorProject> 2 <!DOCTYPE QtCreatorProject>
  3 +<!-- Written by QtCreator 3.1.1, 2014-12-04T22:24:26. -->
3 <qtcreator> 4 <qtcreator>
4 <data> 5 <data>
5 <variable>ProjectExplorer.Project.ActiveTarget</variable> 6 <variable>ProjectExplorer.Project.ActiveTarget</variable>
@@ -28,6 +28,7 @@ using namespace std; @@ -28,6 +28,7 @@ using namespace std;
28 #include <srs_kernel_consts.hpp> 28 #include <srs_kernel_consts.hpp>
29 #include <srs_kernel_error.hpp> 29 #include <srs_kernel_error.hpp>
30 #include <srs_app_source.hpp> 30 #include <srs_app_source.hpp>
  31 +#include <srs_core_performance.hpp>
31 32
32 MockSrsConfigBuffer::MockSrsConfigBuffer(string buf) 33 MockSrsConfigBuffer::MockSrsConfigBuffer(string buf)
33 { 34 {
@@ -1092,7 +1093,7 @@ VOID TEST(ConfigTest, CheckMacros) @@ -1092,7 +1093,7 @@ VOID TEST(ConfigTest, CheckMacros)
1092 #ifndef SRS_CONF_DEFAULT_TIME_JITTER 1093 #ifndef SRS_CONF_DEFAULT_TIME_JITTER
1093 EXPECT_TRUE(false); 1094 EXPECT_TRUE(false);
1094 #endif 1095 #endif
1095 -#ifndef SRS_CONF_DEFAULT_QUEUE_LENGTH 1096 +#ifndef SRS_PERF_PLAY_QUEUE
1096 EXPECT_TRUE(false); 1097 EXPECT_TRUE(false);
1097 #endif 1098 #endif
1098 #ifndef SRS_CONF_DEFAULT_PAUSED_LENGTH 1099 #ifndef SRS_CONF_DEFAULT_PAUSED_LENGTH