merge in nyc-release history after reset to nyc-dev
diff --git a/videocodec/OMXVideoDecoderBase.cpp b/videocodec/OMXVideoDecoderBase.cpp
index 323739b..a2686bc 100755
--- a/videocodec/OMXVideoDecoderBase.cpp
+++ b/videocodec/OMXVideoDecoderBase.cpp
@@ -786,6 +786,7 @@
if (strcasecmp(formatInfo->mimeType,"video/avc") == 0 ||
strcasecmp(formatInfo->mimeType,"video/h264") == 0) {
heightCropped = formatInfo->height;
+ widthCropped = formatInfo->width;
}
uint32_t strideCropped = widthCropped;
uint32_t sliceHeightCropped = heightCropped;
@@ -1215,6 +1216,7 @@
if (strcasecmp(formatInfo->mimeType,"video/avc") == 0 ||
strcasecmp(formatInfo->mimeType,"video/h264") == 0) {
rectParams->nHeight = formatInfo->height;
+ rectParams->nWidth = formatInfo->width;
}
// if port width parsed from extractor is not as same as from SPS/PPS nalu header,
diff --git a/videocodec/OMXVideoDecoderVP9Hybrid.cpp b/videocodec/OMXVideoDecoderVP9Hybrid.cpp
index 20075ab..53dbd48 100644
--- a/videocodec/OMXVideoDecoderVP9Hybrid.cpp
+++ b/videocodec/OMXVideoDecoderVP9Hybrid.cpp
@@ -251,7 +251,6 @@
unsigned int width, height;
mDecoderDecode(mCtx,mHybridCtx,NULL,0,true);
mGetOutput(mCtx,mHybridCtx, &width, &height);
- mLastTimeStamp = 0;
}
return OMX_ErrorNone;
}