commit | ced1c2f8f6c422063092f5cc5c675ccdebb2dc10 | [log] [tgz] |
---|---|---|
author | Chong Zhang <chz@google.com> | Fri Aug 08 15:22:35 2014 -0700 |
committer | Chong Zhang <chz@google.com> | Fri Aug 08 15:22:35 2014 -0700 |
tree | cab0a795dc8f7210d51aaf036585e06d20f19179 | |
parent | a19f33e4e50cda5d5953fa0cc662502262ac9dfd [diff] [blame] |
some clean up of video size change notification need to consider rotation when notifying video size change after initial prepare, in addition to after an output format change. Bug: 16870964 Change-Id: Icd1c9e901ac932e720ce95b8a983c0edcf251c35
diff --git a/media/libmediaplayerservice/nuplayer/StreamingSource.cpp b/media/libmediaplayerservice/nuplayer/StreamingSource.cpp index 28f0d50..2e9a29a 100644 --- a/media/libmediaplayerservice/nuplayer/StreamingSource.cpp +++ b/media/libmediaplayerservice/nuplayer/StreamingSource.cpp
@@ -44,7 +44,7 @@ } void NuPlayer::StreamingSource::prepareAsync() { - notifyVideoSizeChanged(0, 0); + notifyVideoSizeChanged(); notifyFlagsChanged(0); notifyPrepared(); }