1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

add todo for ffmpeg

This commit is contained in:
winlin 2013-12-03 00:26:40 +08:00
parent 5afe746e69
commit 464d78b762
2 changed files with 6 additions and 3 deletions

View file

@ -374,6 +374,8 @@ int SrsFFMPEG::cycle()
return ret;
}
// TODO: to support rewind.
if (p == 0) {
srs_info("transcode process pid=%d is running.", pid);
return ret;
@ -391,6 +393,8 @@ void SrsFFMPEG::stop()
return;
}
// TODO: kill the ffmpeg process when stop.
std::vector<std::string>::iterator it;
it = std::find(_transcoded_url.begin(), _transcoded_url.end(), output);
if (it != _transcoded_url.end()) {