summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2011-01-21 10:15:23 -0800
committerAndreas Huber <andih@google.com>2011-01-21 10:34:40 -0800
commit19922adceb29a3192a63e35a07fb02412aa2a4a2 (patch)
tree35fff4a4b1be99a3e25313dcefa6b8f91bf614fe /include
parentc2ff2ec0d987dd1372183d2a18ea59a0c4d71c2c (diff)
downloadframeworks_base-19922adceb29a3192a63e35a07fb02412aa2a4a2.zip
frameworks_base-19922adceb29a3192a63e35a07fb02412aa2a4a2.tar.gz
frameworks_base-19922adceb29a3192a63e35a07fb02412aa2a4a2.tar.bz2
Some tweaks to HTTP live / nuplayer behaviour
- play audio-only streams again - workaround for malformed streams that switch PIDs across bandwidths - attempt to pick a different bandwidth stream if the previously chosen one appears to be malformed/unsupported. Change-Id: I426d0a40dc725aa242f619d4c9d048b69aca55c9 related-to-bug: 2368598
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/foundation/ADebug.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/media/stagefright/foundation/ADebug.h b/include/media/stagefright/foundation/ADebug.h
index eb5e494..450dcfe 100644
--- a/include/media/stagefright/foundation/ADebug.h
+++ b/include/media/stagefright/foundation/ADebug.h
@@ -75,7 +75,10 @@ MAKE_COMPARATOR(GT,>)
#define CHECK_GE(x,y) CHECK_OP(x,y,GE,>=)
#define CHECK_GT(x,y) CHECK_OP(x,y,GT,>)
-#define TRESPASS() LOG_ALWAYS_FATAL("Should not be here.")
+#define TRESPASS() \
+ LOG_ALWAYS_FATAL( \
+ __FILE__ ":" LITERAL_TO_STRING(__LINE__) \
+ " Should not be here.");
} // namespace android