Less verbose logging, lots of references.

Change-Id: Idcb76848883b113e956d7e6266da882771a053b8
diff --git a/media/libstagefright/wifi-display/ANetworkSession.cpp b/media/libstagefright/wifi-display/ANetworkSession.cpp
index 1c4f535..435e72f 100644
--- a/media/libstagefright/wifi-display/ANetworkSession.cpp
+++ b/media/libstagefright/wifi-display/ANetworkSession.cpp
@@ -428,8 +428,10 @@
     status_t err = OK;
 
     if (n > 0) {
+#if 0
         ALOGI("out:");
         hexdump(mOutBuffer.c_str(), n);
+#endif
 
         mOutBuffer.erase(0, n);
     } else if (n < 0) {
diff --git a/media/libstagefright/wifi-display/source/PlaybackSession.cpp b/media/libstagefright/wifi-display/source/PlaybackSession.cpp
index 5665093..abd7ec3 100644
--- a/media/libstagefright/wifi-display/source/PlaybackSession.cpp
+++ b/media/libstagefright/wifi-display/source/PlaybackSession.cpp
@@ -637,8 +637,8 @@
     CHECK(service != NULL);
 
     // Add one reference to account for the serializer.
-    // Add another one for unknown reasons.
-    err = source->setMaxAcquiredBufferCount(numInputBuffers + 2);
+    // Add another two for unknown reasons.
+    err = source->setMaxAcquiredBufferCount(31 /* numInputBuffers + 1 */);
     CHECK_EQ(err, (status_t)OK);
 
     mBufferQueue = source->getBufferQueue();
diff --git a/media/libstagefright/wifi-display/source/WifiDisplaySource.cpp b/media/libstagefright/wifi-display/source/WifiDisplaySource.cpp
index 0786f2b..8e8f04a 100644
--- a/media/libstagefright/wifi-display/source/WifiDisplaySource.cpp
+++ b/media/libstagefright/wifi-display/source/WifiDisplaySource.cpp
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-#define LOG_NDEBUG 0
+//#define LOG_NDEBUG 0
 #define LOG_TAG "WifiDisplaySource"
 #include <utils/Log.h>