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
2015-04-04 16:05:11 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bd7db5aed6eafbf477d1c42bcb1fd42b33e9dcb5
bd7db5ae
1 parent
61d5b78a
only ignore the aud message.
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
2 行增加
和
7 行删除
trunk/src/app/srs_app_mpegts_udp.cpp
trunk/src/app/srs_app_mpegts_udp.cpp
查看文件 @
bd7db5a
...
...
@@ -362,13 +362,8 @@ int SrsMpegtsOverUdp::on_ts_video(SrsTsMessage* msg, SrsStream* avs)
SrsAvcNaluType
nal_unit_type
=
(
SrsAvcNaluType
)(
frame
[
0
]
&
0x1f
);
// ignore the nalu type sps(7), pps(8), aud(9)
switch
(
nal_unit_type
)
{
case
SrsAvcNaluTypeSPS
:
case
SrsAvcNaluTypePPS
:
case
SrsAvcNaluTypeAccessUnitDelimiter
:
continue
;
default
:
break
;
if
(
nal_unit_type
==
SrsAvcNaluTypeAccessUnitDelimiter
)
{
continue
;
}
// for sps
...
...
请
注册
或
登录
后发表评论