commit | 7256a7c525e079442fd733db692936f5f070b996 | [log] [tgz] |
---|---|---|
author | Santosh Madhava <smadhava@google.com> | Tue Mar 01 21:36:31 2011 -0800 |
committer | Santosh Madhava <smadhava@google.com> | Tue Mar 01 21:36:31 2011 -0800 |
tree | dcd078471581236293f1d1bd5b6a5e84bff455e3 | |
parent | 108500ab225a9b0b275e45620b9db9dbce0d9925 [diff] |
Fix for issue 3495914: (In Java) Video clip switches between start and end Change-Id: Ie5ea83c61c6c008162abea76e15d745a901a1e23
diff --git a/media/java/android/media/videoeditor/MediaArtistNativeHelper.java b/media/java/android/media/videoeditor/MediaArtistNativeHelper.java index 53bbb0f..29c4b89 100644 --- a/media/java/android/media/videoeditor/MediaArtistNativeHelper.java +++ b/media/java/android/media/videoeditor/MediaArtistNativeHelper.java
@@ -1919,14 +1919,14 @@ overlayData = null; } - mPreviewProgressListener.onProgress(mVideoEditor, progress, overlayData); - if (progress != 0) { mPreviewProgress = progress; } if (isFinished) { mPreviewProgressListener.onStop(mVideoEditor); + } else { + mPreviewProgressListener.onProgress(mVideoEditor, progress, overlayData); } } }