Change preview player code also.
Adapt to 32 bit aligned decoder buffers
Change-Id: I631f7e60b8e424af496f45d0e5e292bf9e8a9dde
diff --git a/libvideoeditor/lvpp/PreviewPlayer.h b/libvideoeditor/lvpp/PreviewPlayer.h
index 214c136..ebbdec8 100755
--- a/libvideoeditor/lvpp/PreviewPlayer.h
+++ b/libvideoeditor/lvpp/PreviewPlayer.h
@@ -74,7 +74,7 @@
const char *uri, const KeyedVector<String8, String8> *headers);
//Added methods
- status_t loadEffectsSettings(M4VSS3GPP_EffectSettings* pEffectSettings,
+ status_t loadEffectsSettings(M4VSS3GPP_EffectSettings* pEffectSettings,
int nEffects);
status_t loadAudioMixSettings(M4xVSS_AudioMixingSettings* pAudioMixSettings);
status_t setAudioMixPCMFileHandle(M4OSA_Context pAudioMixPCMFileHandle);
@@ -185,6 +185,9 @@
uint32_t mOutputVideoWidth;
uint32_t mOutputVideoHeight;
+ int32_t mReportedWidth; //docoder reported width
+ int32_t mReportedHeight; //docoder reported height
+
uint32_t mStoryboardStartTimeMsec;
bool mIsVideoSourceJpg;