summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/include/AwesomePlayer.h
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2012-02-09 17:32:57 -0800
committerJames Dong <jdong@google.com>2012-02-09 17:32:57 -0800
commit7c5b72c1ea1a7a8ec40c1364e5e32043799c811f (patch)
treefa5ec98db2048b78c35b828843a78e9cf4e6f8a2 /media/libstagefright/include/AwesomePlayer.h
parent43089daaf82bd2b8e5f9a29b80af5abaae4657b3 (diff)
downloadframeworks_av-7c5b72c1ea1a7a8ec40c1364e5e32043799c811f.zip
frameworks_av-7c5b72c1ea1a7a8ec40c1364e5e32043799c811f.tar.gz
frameworks_av-7c5b72c1ea1a7a8ec40c1364e5e32043799c811f.tar.bz2
Change the signature of method addTextSource() in AwesomePlayer
o avoid a unnecessary copy constructor call Change-Id: Ib598bbe42d42a835549e2d29502c6f196f859874
Diffstat (limited to 'media/libstagefright/include/AwesomePlayer.h')
-rw-r--r--media/libstagefright/include/AwesomePlayer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/include/AwesomePlayer.h b/media/libstagefright/include/AwesomePlayer.h
index a7a3d47..4c7bfa6 100644
--- a/media/libstagefright/include/AwesomePlayer.h
+++ b/media/libstagefright/include/AwesomePlayer.h
@@ -258,7 +258,7 @@ private:
void setVideoSource(sp<MediaSource> source);
status_t initVideoDecoder(uint32_t flags = 0);
- void addTextSource(sp<MediaSource> source);
+ void addTextSource(const sp<MediaSource>& source);
void onStreamDone();