summaryrefslogtreecommitdiffstats
path: root/cmds/stagefright/sf2.cpp
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2011-02-04 10:14:08 -0800
committerAndreas Huber <andih@google.com>2011-02-04 10:14:08 -0800
commit777833cde11bfe8bae9c99aba8eeec33755ab264 (patch)
tree13b738dbeab34c9cd8fffc097153b75755addb0e /cmds/stagefright/sf2.cpp
parent117cd9286424888c1c5bf202ebf1e08ae1e6affe (diff)
downloadframeworks_av-777833cde11bfe8bae9c99aba8eeec33755ab264.zip
frameworks_av-777833cde11bfe8bae9c99aba8eeec33755ab264.tar.gz
frameworks_av-777833cde11bfe8bae9c99aba8eeec33755ab264.tar.bz2
Ignore format change message in sf2 instead of asserting
Change-Id: I2d7cdf371c07109398c53c7ffc37d7b10b6b6312
Diffstat (limited to 'cmds/stagefright/sf2.cpp')
-rw-r--r--cmds/stagefright/sf2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmds/stagefright/sf2.cpp b/cmds/stagefright/sf2.cpp
index 1dc08ea..74649a9 100644
--- a/cmds/stagefright/sf2.cpp
+++ b/cmds/stagefright/sf2.cpp
@@ -170,6 +170,7 @@ protected:
mCodec->signalResume();
(new AMessage(kWhatSeek, id()))->post(5000000ll);
+ } else if (what == ACodec::kWhatOutputFormatChanged) {
} else {
CHECK_EQ(what, (int32_t)ACodec::kWhatShutdownCompleted);