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-10-13 16:54:51 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
69cc01b696c64e6b99dda3918993f4d0b8bd6d56
69cc01b6
1 parent
908365a6
use system utilities
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
trunk/src/app/srs_app_dvr.cpp
trunk/src/app/srs_app_ffmpeg.cpp
trunk/src/app/srs_app_dvr.cpp
查看文件 @
69cc01b
...
...
@@ -410,7 +410,7 @@ string SrsFlvSegment::generate_path()
std
::
string
path_config
=
_srs_config
->
get_dvr_path
(
req
->
vhost
);
// add [stream].[timestamp].flv as filename for dir
if
(
path_config
.
find
(
".flv"
)
!=
path_config
.
length
()
-
4
)
{
if
(
!
srs_string_ends_with
(
path_config
,
".flv"
)
)
{
path_config
+=
"/[stream].[timestamp].flv"
;
}
...
...
trunk/src/app/srs_app_ffmpeg.cpp
查看文件 @
69cc01b
...
...
@@ -219,7 +219,7 @@ int SrsFFMPEG::initialize_transcode(SrsConfDirective* engine)
// for not rtmp input, donot append the iformat,
// for example, "-f flv" before "-i udp://192.168.1.252:2222"
// @see https://github.com/simple-rtmp-server/srs/issues/290
if
(
input
.
find
(
"rtmp://"
)
!=
0
)
{
if
(
!
srs_string_starts_with
(
input
,
"rtmp://"
)
)
{
iformat
=
""
;
}
...
...
请
注册
或
登录
后发表评论