Switch from RTC_DISABLE_VP9 to RTC_ENABLE_VP9.
RTC_ENABLE_VP9 is more natural to deal with then RTC_DISABLE_VP9. In all the places this macro is used, WebRTC needs to do more things so it is easier to "do more if RTC_ENABLE_VP9 is defined" than "do more if RTC_DISABLE_VP9 is not defined". Bug: None Change-Id: If992e5c554173e6af3f030f6e0fd21bd82acf9eb No-Try: True Reviewed-on: https://webrtc-review.googlesource.com/c/111242 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Philip Eliasson <philipel@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25679}
This commit is contained in:
committed by
Commit Bot
parent
bd6ffaf73b
commit
8ef57932b1
@ -90,7 +90,7 @@ void PrintRdPerf(std::map<size_t, std::vector<VideoStatistics>> rd_stats) {
|
||||
}
|
||||
} // namespace
|
||||
|
||||
#if !defined(RTC_DISABLE_VP9)
|
||||
#if defined(RTC_ENABLE_VP9)
|
||||
TEST(VideoCodecTestLibvpx, HighBitrateVP9) {
|
||||
auto config = CreateConfig();
|
||||
config.SetCodecSettings(cricket::kVp9CodecName, 1, 1, 1, false, true, false,
|
||||
@ -200,7 +200,7 @@ TEST(VideoCodecTestLibvpx, VeryLowBitrateVP9) {
|
||||
// TODO(marpan): Add temporal layer test for VP9, once changes are in
|
||||
// vp9 wrapper for this.
|
||||
|
||||
#endif // !defined(RTC_DISABLE_VP9)
|
||||
#endif // defined(RTC_ENABLE_VP9)
|
||||
|
||||
TEST(VideoCodecTestLibvpx, HighBitrateVP8) {
|
||||
auto config = CreateConfig();
|
||||
|
||||
@ -9,9 +9,9 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#if !defined(RTC_DISABLE_VP9)
|
||||
#if defined(RTC_ENABLE_VP9)
|
||||
#error
|
||||
#endif // !defined(RTC_DISABLE_VP9)
|
||||
#endif // defined(RTC_ENABLE_VP9)
|
||||
|
||||
#include "modules/video_coding/codecs/vp9/include/vp9.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user