summaryrefslogtreecommitdiffstats
path: root/include/media/stagefright/foundation
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-12-15 17:18:20 -0800
committerAndreas Huber <andih@google.com>2010-12-16 10:08:26 -0800
commit2c2814b900a61fa07ddfff860b143fbbe9c740e9 (patch)
tree6e87ef2fc13807b7553fb922c149c9e9810c92fd /include/media/stagefright/foundation
parente071b055cee301d71335519601474c62b10af411 (diff)
downloadframeworks_av-2c2814b900a61fa07ddfff860b143fbbe9c740e9.zip
frameworks_av-2c2814b900a61fa07ddfff860b143fbbe9c740e9.tar.gz
frameworks_av-2c2814b900a61fa07ddfff860b143fbbe9c740e9.tar.bz2
Properly announce decoder output format changes, make sure AMessage::dup does.
Change-Id: Ia77f6b6d5e5c5055583740dfe876b8a3c22be9b6
Diffstat (limited to 'include/media/stagefright/foundation')
-rw-r--r--include/media/stagefright/foundation/AMessage.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/media/stagefright/foundation/AMessage.h b/include/media/stagefright/foundation/AMessage.h
index 941f6b9..91ec60c 100644
--- a/include/media/stagefright/foundation/AMessage.h
+++ b/include/media/stagefright/foundation/AMessage.h
@@ -64,6 +64,9 @@ struct AMessage : public RefBase {
void post(int64_t delayUs = 0);
+ // Performs a deep-copy of "this", contained messages are in turn "dup'ed".
+ // Warning: RefBase items, i.e. "objects" are _not_ copied but only have
+ // their refcount incremented.
sp<AMessage> dup() const;
AString debugString(int32_t indent = 0) const;