do not send max pts gap to full-frame image encoders

Image encoders don't use pts for rate control and should take
backward pts just fine. Also OMXNodeInstance timestamp restore
assume one input buffer maps to one output.

bug: 141169323
test: vendor testing of Camera CTS
ReprocessCaptureTest-testMixedBurstReprocessing

Change-Id: I17db3b5fb363878c9daf33c914fd2e1e88029cfe
(cherry picked from commit d372bd43a6c70bd243f34465a5dda42629250fc7)
diff --git a/media/libstagefright/ACodec.cpp b/media/libstagefright/ACodec.cpp
index 369e13f..44f246d 100644
--- a/media/libstagefright/ACodec.cpp
+++ b/media/libstagefright/ACodec.cpp
@@ -6901,7 +6901,7 @@
         }
     }
 
-    if (mCodec->mMaxPtsGapUs != 0LL) {
+    if (mCodec->mIsVideo && mCodec->mMaxPtsGapUs != 0LL) {
         OMX_PARAM_U32TYPE maxPtsGapParams;
         InitOMXParams(&maxPtsGapParams);
         maxPtsGapParams.nPortIndex = kPortIndexInput;