Revision: 34639
http://sourceforge.net/p/opalvoip/code/34639
Author: rjongbloed
Date: 2016-02-19 12:26:00 +0000 (Fri, 19 Feb 2016)
Log Message:
-----------
Allow PJPEGConverter::Load() to resize output, if YUV420P, part 2.
Modified Paths:
--------------
ptlib/trunk/src/ptlib/common/vconvert.cxx
Modified: ptlib/trunk/src/ptlib/common/vconvert.cxx
===================================================================
--- ptlib/trunk/src/ptlib/common/vconvert.cxx 2016-02-19 12:20:17 UTC (rev 34638)
+++ ptlib/trunk/src/ptlib/common/vconvert.cxx 2016-02-19 12:26:00 UTC (rev 34639)
@@ -3227,7 +3227,7 @@
}
PBYTEArray temporaryBuffer;
- if (!Finish(frameBuffer.GetPointer(GetBufferSizeForColour(nativeWidth, nativeHeight)), nativeWidth, nativeHeight))
+ if (!Finish(m_temporaryBuffer.GetPointer(GetBufferSizeForColour(nativeWidth, nativeHeight)), nativeWidth, nativeHeight))
return false;
return CopyYUV420P(0, 0, nativeWidth, nativeHeight, nativeWidth, nativeHeight, m_temporaryBuffer,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|