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-02-10 19:58:24 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
66931a88904ae1e7d9d382556884eb7e3c96c021
66931a88
1 parent
b8d4f68a
try to fix hls problem, print the video packets.
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
3 行增加
和
1 行删除
trunk/src/app/srs_app_hls.cpp
trunk/src/kernel/srs_kernel_codec.cpp
trunk/src/app/srs_app_hls.cpp
查看文件 @
66931a8
...
...
@@ -966,6 +966,8 @@ int SrsHls::on_video(SrsSharedPtrMessage* __video)
srs_error
(
"hls codec demux video failed. ret=%d"
,
ret
);
return
ret
;
}
srs_info
(
"video decoded, type=%d, codec=%d, avc=%d, cts=%d, size=%d, time=%"
PRId64
,
sample
->
frame_type
,
codec
->
video_codec_id
,
sample
->
avc_packet_type
,
sample
->
cts
,
video
->
size
,
video
->
timestamp
);
// ignore info frame,
// @see https://github.com/winlinvip/simple-rtmp-server/issues/288#issuecomment-69863909
...
...
trunk/src/kernel/srs_kernel_codec.cpp
查看文件 @
66931a8
...
...
@@ -488,7 +488,7 @@ int SrsAvcAacCodec::video_avc_demux(char* data, int size, SrsCodecSample* sample
// ignored.
}
srs_info
(
"video decoded, type=%d, codec=%d, avc=%d,
time
=%d, size=%d"
,
srs_info
(
"video decoded, type=%d, codec=%d, avc=%d,
cts
=%d, size=%d"
,
frame_type
,
video_codec_id
,
avc_packet_type
,
composition_time
,
size
);
return
ret
;
...
...
请
注册
或
登录
后发表评论