commit | 0b7c9a327f5d10b841a3aa2bbe103a2ca6dcac37 | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Mon Apr 30 11:35:34 2012 -0700 |
committer | Andreas Huber <andih@google.com> | Mon Apr 30 11:35:34 2012 -0700 |
tree | b53531cf12c1000598bf15b828fe3f7a3cda4116 | |
parent | 83faee053cfd4251dbb591b62039f563ffdac399 [diff] |
Notify the client about an initial size of (0, 0) instead of (320, 240). which is documented as "we don't have that information just yet". Change-Id: I158a53af83d526f713cd30372fce28558894b857 related-to-bug: 6293020
diff --git a/media/libmediaplayerservice/nuplayer/NuPlayerDriver.cpp b/media/libmediaplayerservice/nuplayer/NuPlayerDriver.cpp index 253bc2f..441cbf3 100644 --- a/media/libmediaplayerservice/nuplayer/NuPlayerDriver.cpp +++ b/media/libmediaplayerservice/nuplayer/NuPlayerDriver.cpp
@@ -103,7 +103,7 @@ } status_t NuPlayerDriver::prepare() { - sendEvent(MEDIA_SET_VIDEO_SIZE, 320, 240); + sendEvent(MEDIA_SET_VIDEO_SIZE, 0, 0); return OK; }