summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice/nuplayer/NuPlayerSource.h
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/NuPlayerSource.h
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/NuPlayerSource.h')
-rw-r--r--media/libmediaplayerservice/nuplayer/NuPlayerSource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libmediaplayerservice/nuplayer/NuPlayerSource.h b/media/libmediaplayerservice/nuplayer/NuPlayerSource.h
index 0ec017e..06bbbec 100644
--- a/media/libmediaplayerservice/nuplayer/NuPlayerSource.h
+++ b/media/libmediaplayerservice/nuplayer/NuPlayerSource.h
@@ -110,7 +110,7 @@ protected:
sp<AMessage> dupNotify() const { return mNotify->dup(); }
void notifyFlagsChanged(uint32_t flags);
- void notifyVideoSizeChanged(int32_t width, int32_t height);
+ void notifyVideoSizeChanged(const sp<AMessage> &format = NULL);
void notifyPrepared(status_t err = OK);
private: