summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author James Dong <jdong@google.com> 2010-12-08 15:28:42 -0800
committer James Dong <jdong@google.com> 2010-12-08 15:37:14 -0800
commitda1b16ad41f7a4abf2531f86e1ba6053b588dae8 (patch)
tree3d19cadb8dbcdf39460c6b7e612c3cd0e1e4e441
parent40ddd4a64908c0cbe4970d2ba1703f74717620a8 (diff)
When INFO_FORMAT_CHANGED event comes in before the renderer was initialized, go back to read from source again
bug - 3264094 Change-Id: I291a9b09b335d0eb4acf91f992e59fc44bc57d01
-rw-r--r--media/libstagefright/AwesomePlayer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/media/libstagefright/AwesomePlayer.cpp b/media/libstagefright/AwesomePlayer.cpp
index 08cf51517a3e..7dbb145182ba 100644
--- a/media/libstagefright/AwesomePlayer.cpp
+++ b/media/libstagefright/AwesomePlayer.cpp
@@ -1211,6 +1211,8 @@ void AwesomePlayer::onVideoEvent() {
}
// fall through
+ } else {
+ continue;
}
}