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
panda1986
2015-01-20 14:06:27 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
797c1b0762775f132fe3232f28abd0ab2324980d
797c1b07
1 parent
e7d54c2c
support all acodec. not forced to aac.
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
0 行增加
和
9 行删除
trunk/src/app/srs_app_ffmpeg.cpp
trunk/src/app/srs_app_ffmpeg.cpp
查看文件 @
797c1b0
...
...
@@ -181,15 +181,6 @@ int SrsFFMPEG::initialize_transcode(SrsConfDirective* engine)
}
if
(
acodec
!=
SRS_RTMP_ENCODER_COPY
&&
acodec
!=
SRS_RTMP_ENCODER_NO_AUDIO
)
{
/*
// add new acodec libmp3lame
if (acodec.find(SRS_RTMP_ENCODER_ACODEC) == std::string::npos) {
ret = ERROR_ENCODER_ACODEC;
srs_error("invalid acodec, must be %s, actual %s, ret=%d",
SRS_RTMP_ENCODER_ACODEC, acodec.c_str(), ret);
return ret;
}
*/
if
(
abitrate
<=
0
)
{
ret
=
ERROR_ENCODER_ABITRATE
;
srs_error
(
"invalid abitrate: %d, ret=%d"
,
abitrate
,
ret
);
...
...
请
注册
或
登录
后发表评论