summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/rtsp/ARTSPConnection.cpp
diff options
context:
space:
mode:
authorLajos Molnar <lajos@google.com>2014-04-03 19:13:01 -0700
committerLajos Molnar <lajos@google.com>2014-04-04 19:05:32 -0700
commita1df816c0677185534babba6ffc29970b048e52e (patch)
treea2bf0a6954b805b7eef330387940067fb132da4f /media/libstagefright/rtsp/ARTSPConnection.cpp
parentbcf08569453dcb42730cda3230d5d375a697005b (diff)
downloadframeworks_av-a1df816c0677185534babba6ffc29970b048e52e.zip
frameworks_av-a1df816c0677185534babba6ffc29970b048e52e.tar.gz
frameworks_av-a1df816c0677185534babba6ffc29970b048e52e.tar.bz2
stagefright: log uri protocols, and opt-in to log full uri
Added property media.stagefright.log-uri. Set it to true or 1 to log uris by AwesomePlayer. Added utility function to get uri debug string based on incognito and log opt-in status. Change-Id: I5ccc23079ddfb120dd9703a3ed651a162ed5acec Related-Bug: 6994761
Diffstat (limited to 'media/libstagefright/rtsp/ARTSPConnection.cpp')
-rw-r--r--media/libstagefright/rtsp/ARTSPConnection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/rtsp/ARTSPConnection.cpp b/media/libstagefright/rtsp/ARTSPConnection.cpp
index cc3b63c..f25539c 100644
--- a/media/libstagefright/rtsp/ARTSPConnection.cpp
+++ b/media/libstagefright/rtsp/ARTSPConnection.cpp
@@ -239,7 +239,7 @@ void ARTSPConnection::onConnect(const sp<AMessage> &msg) {
// right here, since we currently have no way of asking the user
// for this information.
- ALOGE("Malformed rtsp url <URL suppressed>");
+ ALOGE("Malformed rtsp url %s", uriDebugString(url).c_str());
reply->setInt32("result", ERROR_MALFORMED);
reply->post();