summaryrefslogtreecommitdiffstats
path: root/include/media/stagefright/foundation
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
commitbc7f5b2e56107cfeaeeab13cf8979379e3c2f139 (patch)
treedffbfa1a0c661a0bd986d3ef8d80287cb0bcc513 /include/media/stagefright/foundation
parentb408222bd9479c291874b607acae1425d6154fe7 (diff)
downloadframeworks_av-bc7f5b2e56107cfeaeeab13cf8979379e3c2f139.zip
frameworks_av-bc7f5b2e56107cfeaeeab13cf8979379e3c2f139.tar.gz
frameworks_av-bc7f5b2e56107cfeaeeab13cf8979379e3c2f139.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/media/stagefright/foundation')
-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