summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice/nuplayer/RTSPSource.cpp
diff options
context:
space:
mode:
authorChong Zhang <chz@google.com>2014-08-08 15:22:35 -0700
committerChong Zhang <chz@google.com>2014-08-08 15:22:35 -0700
commitced1c2f8f6c422063092f5cc5c675ccdebb2dc10 (patch)
treecab0a795dc8f7210d51aaf036585e06d20f19179 /media/libmediaplayerservice/nuplayer/RTSPSource.cpp
parenta19f33e4e50cda5d5953fa0cc662502262ac9dfd (diff)
downloadframeworks_av-ced1c2f8f6c422063092f5cc5c675ccdebb2dc10.zip
frameworks_av-ced1c2f8f6c422063092f5cc5c675ccdebb2dc10.tar.gz
frameworks_av-ced1c2f8f6c422063092f5cc5c675ccdebb2dc10.tar.bz2
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
Diffstat (limited to 'media/libmediaplayerservice/nuplayer/RTSPSource.cpp')
-rw-r--r--media/libmediaplayerservice/nuplayer/RTSPSource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libmediaplayerservice/nuplayer/RTSPSource.cpp b/media/libmediaplayerservice/nuplayer/RTSPSource.cpp
index 2338b23..a911f6c 100644
--- a/media/libmediaplayerservice/nuplayer/RTSPSource.cpp
+++ b/media/libmediaplayerservice/nuplayer/RTSPSource.cpp
@@ -356,7 +356,7 @@ void NuPlayer::RTSPSource::onMessageReceived(const sp<AMessage> &msg) {
{
onConnected();
- notifyVideoSizeChanged(0, 0);
+ notifyVideoSizeChanged();
uint32_t flags = 0;