summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/omx
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2009-11-06 08:40:09 -0800
committerAndreas Huber <andih@google.com>2009-11-06 08:44:26 -0800
commitfa70cad40b01627ac1c22e04cdd548ece9c2654f (patch)
treee0fb01133d01e5680b669f26c0eeedddcbe09809 /media/libstagefright/omx
parent6fceb868bf79feac0498ca5db8694c92ef6b4fa5 (diff)
downloadframeworks_av-fa70cad40b01627ac1c22e04cdd548ece9c2654f.zip
frameworks_av-fa70cad40b01627ac1c22e04cdd548ece9c2654f.tar.gz
frameworks_av-fa70cad40b01627ac1c22e04cdd548ece9c2654f.tar.bz2
Handle OMX_StateInvalid in emergency shutdown properly (by ignoring it and hoping for the best) instead of asserting.
Diffstat (limited to 'media/libstagefright/omx')
-rw-r--r--media/libstagefright/omx/OMXNodeInstance.cpp1
1 files changed, 1 insertions, 0 deletions
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 @@ status_t OMXNodeInstance::freeNode() {
}
case OMX_StateLoaded:
+ case OMX_StateInvalid:
break;
default: