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-09-09 14:18:50 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
49b880d4ce5e1efad25edf60046faa5da3160bf2
49b880d4
1 parent
0015b303
refine comments
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
trunk/src/libs/srs_librtmp.cpp
trunk/src/libs/srs_librtmp.cpp
查看文件 @
49b880d
...
...
@@ -1301,6 +1301,7 @@ int srs_write_h264_ipb_frame(Context* context,
// for I/P NALU, we send them in isolate frame, each NALU in a frame;
// for other NALU, for example, AUD/SEI, we just ignore them, because
// AUD used in annexb to split frame, while SEI generally we can ignore it.
// TODO: maybe we should group all NALUs split by AUD to a frame.
SrsAvcNaluType
nut
=
(
SrsAvcNaluType
)(
frame
[
0
]
&
0x1f
);
if
(
nut
!=
SrsAvcNaluTypeIDR
&&
nut
!=
SrsAvcNaluTypeNonIDR
)
{
return
ret
;
...
...
请
注册
或
登录
后发表评论