summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice/nuplayer
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2012-04-30 11:35:34 -0700
committerAndreas Huber <andih@google.com>2012-04-30 11:35:34 -0700
commit0b7c9a327f5d10b841a3aa2bbe103a2ca6dcac37 (patch)
treeb53531cf12c1000598bf15b828fe3f7a3cda4116 /media/libmediaplayerservice/nuplayer
parent83faee053cfd4251dbb591b62039f563ffdac399 (diff)
downloadframeworks_av-0b7c9a327f5d10b841a3aa2bbe103a2ca6dcac37.zip
frameworks_av-0b7c9a327f5d10b841a3aa2bbe103a2ca6dcac37.tar.gz
frameworks_av-0b7c9a327f5d10b841a3aa2bbe103a2ca6dcac37.tar.bz2
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
Diffstat (limited to 'media/libmediaplayerservice/nuplayer')
-rw-r--r--media/libmediaplayerservice/nuplayer/NuPlayerDriver.cpp2
1 files changed, 1 insertions, 1 deletions
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::setVideoSurfaceTexture(
}
status_t NuPlayerDriver::prepare() {
- sendEvent(MEDIA_SET_VIDEO_SIZE, 320, 240);
+ sendEvent(MEDIA_SET_VIDEO_SIZE, 0, 0);
return OK;
}