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

merge from srs2.

This commit is contained in:
winlin 2015-12-26 12:17:51 +08:00
commit 7ae2c6bf50
4 changed files with 13 additions and 9 deletions

View file

@ -832,7 +832,7 @@ int SrsRtmpConn::playing(SrsSource* source)
// create consumer of souce.
SrsConsumer* consumer = NULL;
if ((ret = source->create_consumer(consumer)) != ERROR_SUCCESS) {
if ((ret = source->create_consumer(this, consumer)) != ERROR_SUCCESS) {
srs_error("create consumer failed. ret=%d", ret);
return ret;
}