summaryrefslogtreecommitdiff
path: root/media/libstagefright/wifi-display/source/PlaybackSession.cpp
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2012-09-24 14:33:18 -0700
committerAndreas Huber <andih@google.com>2012-09-25 09:27:40 -0700
commit92f655fe351a5f2eb7d36123d2b687d6e7e3e913 (patch)
tree9c233b2c1df1bce753dc16c5fe27871badecd820 /media/libstagefright/wifi-display/source/PlaybackSession.cpp
parent2a865ad8d45940bc824c02a8a8558cbcb97acc88 (diff)
Add some more logging, reduce startup delay to 1 sec.
Change-Id: Ic24a3d9e3e645288411efb46f7004d89e7a0a4b7
Diffstat (limited to 'media/libstagefright/wifi-display/source/PlaybackSession.cpp')
-rw-r--r--media/libstagefright/wifi-display/source/PlaybackSession.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/libstagefright/wifi-display/source/PlaybackSession.cpp b/media/libstagefright/wifi-display/source/PlaybackSession.cpp
index bd84c666..be9b159d 100644
--- a/media/libstagefright/wifi-display/source/PlaybackSession.cpp
+++ b/media/libstagefright/wifi-display/source/PlaybackSession.cpp
@@ -415,8 +415,8 @@ status_t WifiDisplaySource::PlaybackSession::play() {
}
status_t WifiDisplaySource::PlaybackSession::finishPlay() {
- // XXX Give the dongle 3 secs to bind its sockets.
- (new AMessage(kWhatFinishPlay, id()))->post(3000000ll);
+ // XXX Give the dongle a second to bind its sockets.
+ (new AMessage(kWhatFinishPlay, id()))->post(1000000ll);
return OK;
}