提交 afa4c792 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Don't apply clang-format to Ragel generated sources

上级 b4429478
......@@ -53,7 +53,12 @@ gulp.task('lint:worker', () =>
gulp.task('format:worker', () =>
{
return gulp.src(workerFiles, { base: '.' })
let src = workerFiles.concat(
// Remove Ragel generated files.
'!worker/src/Utils/IP.cpp'
);
return gulp.src(src, { base: '.' })
.pipe(clangFormat.format('file'))
.pipe(gulp.dest('.'));
});
......
......@@ -172,8 +172,7 @@ namespace RTC
// Request a full frame so dropped video packets don't cause lag.
if (this->params.mime.type == RTC::RtpCodecMime::Type::VIDEO)
{
MS_DEBUG_TAG(rtx, "stream initialized, triggering PLI [ssrc:%" PRIu32 "]",
this->params.ssrc);
MS_DEBUG_TAG(rtx, "stream initialized, triggering PLI [ssrc:%" PRIu32 "]", this->params.ssrc);
this->listener->onPliRequired(this);
}
......
差异被折叠。
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论