Skip to content

Commit

Permalink
0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jgh- committed Jan 17, 2015
1 parent c886817 commit 09c0fc7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@ videocore::Apple::StreamSession : videocore::IStreamSession

##Version History

* 0.2.2
* Fix video streaking bug when adaptative bitrate is enabled
* Increase the aggressiveness of the adaptative bitrate algorithm
* Add internal pixel buffer format
*
* 0.2.0
* Removes deprecated functions
* Adds Main Profile video
Expand Down
2 changes: 1 addition & 1 deletion VideoCore.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "VideoCore"
s.version = "0.2.1.3"
s.version = "0.2.2"
s.summary = "An audio and video manipulation and streaming pipeline with support for RTMP."
s.description = <<-DESC
This is a work-in-progress library with the
Expand Down
2 changes: 1 addition & 1 deletion mixers/iOS/GLESVideoMixer.mm
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ - (void) setMixer: (videocore::iOS::GLESVideoMixer*) mixer
//const auto currentBuffer = this->m_currentBuffer->cvBuffer();
for ( auto it = this->m_pixelBuffers.begin() ; it != m_pixelBuffers.end() ; ) {

if ( (it->second.buffer->isTemporary()) && it->second.buffer->cvBuffer() != this->m_currentBuffer->cvBuffer() ) {
if ( (it->second.buffer->isTemporary() || (now - it->second.time > std::chrono::milliseconds(1000)) ) && it->second.buffer->cvBuffer() != this->m_currentBuffer->cvBuffer() ) {
// Buffer hasn't been used in more than 1s or is temporary, release it.
it = this->m_pixelBuffers.erase(it);
} else {
Expand Down

0 comments on commit 09c0fc7

Please sign in to comment.