提交 97882cfa authored 作者: José Luis Millán's avatar José Luis Millán

worker: Apply format

上级 d751c208
...@@ -280,7 +280,9 @@ namespace RTC ...@@ -280,7 +280,9 @@ namespace RTC
{ {
MS_ASSERT(profile != RTC::RtpEncodingParameters::Profile::NONE, "invalid profile"); MS_ASSERT(profile != RTC::RtpEncodingParameters::Profile::NONE, "invalid profile");
MS_ASSERT(this->mapProfileRtpStream.find(profile) == this->mapProfileRtpStream.end(), "profile already exists"); MS_ASSERT(
this->mapProfileRtpStream.find(profile) == this->mapProfileRtpStream.end(),
"profile already exists");
MS_ASSERT( MS_ASSERT(
!(profile == RTC::RtpEncodingParameters::Profile::DEFAULT && !this->mapProfileRtpStream.empty()), !(profile == RTC::RtpEncodingParameters::Profile::DEFAULT && !this->mapProfileRtpStream.empty()),
...@@ -300,10 +302,13 @@ namespace RTC ...@@ -300,10 +302,13 @@ namespace RTC
{ {
MS_ASSERT(profile != RTC::RtpEncodingParameters::Profile::NONE, "invalid profile"); MS_ASSERT(profile != RTC::RtpEncodingParameters::Profile::NONE, "invalid profile");
MS_ASSERT(this->mapProfileRtpStream.find(profile) != this->mapProfileRtpStream.end(), "profile not found"); MS_ASSERT(
this->mapProfileRtpStream.find(profile) != this->mapProfileRtpStream.end(),
"profile not found");
MS_ASSERT( MS_ASSERT(
!(profile == RTC::RtpEncodingParameters::Profile::DEFAULT && this->mapProfileRtpStream.size() != 1), !(profile == RTC::RtpEncodingParameters::Profile::DEFAULT &&
this->mapProfileRtpStream.size() != 1),
"default profile cannot coexist with others"); "default profile cannot coexist with others");
// Remove the profile. // Remove the profile.
......
...@@ -67,7 +67,8 @@ SCENARIO("parse VP8 payload descriptor", "[codecs][vp8]") ...@@ -67,7 +67,8 @@ SCENARIO("parse VP8 payload descriptor", "[codecs][vp8]")
SECTION("encode payload descriptor") SECTION("encode payload descriptor")
{ {
payloadDescriptor->Encode(buffer, payloadDescriptor->pictureId, payloadDescriptor->tl0PictureIndex); payloadDescriptor->Encode(
buffer, payloadDescriptor->pictureId, payloadDescriptor->tl0PictureIndex);
SECTION("compare encoded payloadDescriptor with original buffer") SECTION("compare encoded payloadDescriptor with original buffer")
{ {
...@@ -141,7 +142,8 @@ SCENARIO("parse VP8 payload descriptor", "[codecs][vp8]") ...@@ -141,7 +142,8 @@ SCENARIO("parse VP8 payload descriptor", "[codecs][vp8]")
SECTION("encode payload descriptor") SECTION("encode payload descriptor")
{ {
payloadDescriptor->Encode(buffer, payloadDescriptor->pictureId, payloadDescriptor->tl0PictureIndex); payloadDescriptor->Encode(
buffer, payloadDescriptor->pictureId, payloadDescriptor->tl0PictureIndex);
SECTION("compare encoded payloadDescriptor with original buffer") SECTION("compare encoded payloadDescriptor with original buffer")
{ {
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论