From bc7f5b2e56107cfeaeeab13cf8979379e3c2f139 Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Fri, 21 Jan 2011 10:15:23 -0800 Subject: 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 --- include/media/stagefright/foundation/ADebug.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/media/stagefright/foundation') 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 -- cgit v1.1