| commit | fa70cad40b01627ac1c22e04cdd548ece9c2654f | [log] [tgz] |
|---|---|---|
| author | Andreas Huber <andih@google.com> | Fri Nov 06 08:40:09 2009 -0800 |
| committer | Andreas Huber <andih@google.com> | Fri Nov 06 08:44:26 2009 -0800 |
| tree | e0fb01133d01e5680b669f26c0eeedddcbe09809 | |
| parent | 6fceb868bf79feac0498ca5db8694c92ef6b4fa5 [diff] |
Handle OMX_StateInvalid in emergency shutdown properly (by ignoring it and hoping for the best) instead of asserting.
diff --git a/media/libstagefright/omx/OMXNodeInstance.cpp b/media/libstagefright/omx/OMXNodeInstance.cpp index ab8be53..8218918 100644 --- a/media/libstagefright/omx/OMXNodeInstance.cpp +++ b/media/libstagefright/omx/OMXNodeInstance.cpp
@@ -149,6 +149,7 @@ } case OMX_StateLoaded: + case OMX_StateInvalid: break; default: