We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 793ce52 + a711064 commit b070521Copy full SHA for b070521
cmds/stagefright/sf2.cpp
@@ -14,6 +14,10 @@
14
* limitations under the License.
15
*/
16
17
+//#define LOG_NDEBUG 0
18
+#define LOG_TAG "sf2"
19
+#include <utils/Log.h>
20
+
21
#include <binder/ProcessState.h>
22
23
#include <media/stagefright/foundation/hexdump.h>
@@ -205,6 +209,12 @@ struct Controller : public AHandler {
205
209
}
206
210
207
211
looper()->stop();
212
+ } else if (what == ACodec::kWhatError) {
213
+ ALOGE("something went wrong, codec reported an error.");
214
215
+ printf("E\n");
216
217
+ (new AMessage(kWhatStop, id()))->post();
208
218
219
break;
220
0 commit comments