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
2014-05-13 15:15:25 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
91eabda7b83bdd00aa5a142d4f398831edf4937f
91eabda7
1 parent
9ba786d1
add comments for source, return for sequence header.
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
trunk/src/app/srs_app_source.cpp
trunk/src/app/srs_app_source.cpp
查看文件 @
91eabda
...
...
@@ -955,6 +955,7 @@ int SrsSource::on_audio(SrsMessage* audio)
}
// cache the sequence header if h264
// donot cache the sequence header to gop_cache, return here.
if
(
SrsCodec
::
audio_is_sequence_header
(
msg
->
payload
,
msg
->
size
))
{
srs_freep
(
cache_sh_audio
);
cache_sh_audio
=
msg
->
copy
();
...
...
@@ -1044,6 +1045,7 @@ int SrsSource::on_video(SrsMessage* video)
}
// cache the sequence header if h264
// donot cache the sequence header to gop_cache, return here.
if
(
SrsCodec
::
video_is_sequence_header
(
msg
->
payload
,
msg
->
size
))
{
srs_freep
(
cache_sh_video
);
cache_sh_video
=
msg
->
copy
();
...
...
请
注册
或
登录
后发表评论