Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2016-11-15 10:42:02 +0800
Browse Files
Options
Browse Files
Download
Plain Diff
Committed by
GitHub
2016-11-15 10:42:02 +0800
Commit
85a7cb884f0cc825c47110bc136e0d785700b1bc
85a7cb88
2 parents
625ca237
e0ab8b08
fix bug: fix the way calculating PCR for ts(#678) (#430)
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
trunk/src/kernel/srs_kernel_ts.cpp
trunk/src/kernel/srs_kernel_ts.cpp
查看文件 @
85a7cb8
...
...
@@ -1202,7 +1202,7 @@ int SrsTsAdaptationField::encode(SrsStream* stream)
// @see https://github.com/ossrs/srs/issues/250#issuecomment-71349370
int64_t
pcrv
=
program_clock_reference_extension
&
0x1ff
;
pcrv
|=
(
const1_value0
<<
9
)
&
0x7E00
;
pcrv
|=
(
program_clock_reference_base
<<
15
)
&
0x
1FFFFFFFF000
000LL
;
pcrv
|=
(
program_clock_reference_base
<<
15
)
&
0x
FFFFFFFF8
000LL
;
pp
=
(
char
*
)
&
pcrv
;
*
p
++
=
pp
[
5
];
...
...
请
注册
或
登录
后发表评论