diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/org/codeaurora/gallery3d/video/CodeauroraVideoView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/codeaurora/gallery3d/video/CodeauroraVideoView.java b/src/org/codeaurora/gallery3d/video/CodeauroraVideoView.java index 00ca80122..b3c5622e2 100644 --- a/src/org/codeaurora/gallery3d/video/CodeauroraVideoView.java +++ b/src/org/codeaurora/gallery3d/video/CodeauroraVideoView.java @@ -461,7 +461,7 @@ public class CodeauroraVideoView extends SurfaceView implements MediaPlayerContr private void openVideo() { clearVideoInfo(); - if (mUri == null || mSurfaceHolder == null) { + if (mUri == null || mSurfaceHolder == null || mTargetState == STATE_ERROR) { // not ready for playback just yet, will try again later return; } |
