Merge branch 'master' into plugin_support_test

This commit is contained in:
Emmanuel Papin 2015-02-27 19:46:55 +01:00
commit b1dbb23f13
1 changed files with 5 additions and 1 deletions

View File

@ -440,7 +440,11 @@ int RtspThread::run()
}
else
{
trackUrl += "/" + controlUrl;
if ( *trackUrl.rbegin() != '/') {
trackUrl += "/" + controlUrl;
} else {
trackUrl += controlUrl;
}
}
rtpClock = mediaDesc->getClock();
codecId = mFormatContext->streams[i]->codec->codec_id;