summaryrefslogtreecommitdiffstats
path: root/media/libstagefright
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2009-12-07 09:43:00 -0800
committerAndreas Huber <andih@google.com>2009-12-07 09:43:00 -0800
commitbf697e37550d9e8376089b0b5e498613bede798c (patch)
treeb9e89f19038a23f9b4ad0e667b8ac1a37f8738df /media/libstagefright
parentf0fb96c352f30b812a4903a1d783a715e1e817bd (diff)
downloadframeworks_av-bf697e37550d9e8376089b0b5e498613bede798c.zip
frameworks_av-bf697e37550d9e8376089b0b5e498613bede798c.tar.gz
frameworks_av-bf697e37550d9e8376089b0b5e498613bede798c.tar.bz2
Change OMXCodec::Create to return an sp<MediaSource> instead of an sp<OMXCodec>, this is more general and does not sacrifice any functionality as the remaining OMXCodec APIs are not meant to be public anyway.
Diffstat (limited to 'media/libstagefright')
-rw-r--r--media/libstagefright/OMXCodec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/OMXCodec.cpp b/media/libstagefright/OMXCodec.cpp
index 670f748..7c77214 100644
--- a/media/libstagefright/OMXCodec.cpp
+++ b/media/libstagefright/OMXCodec.cpp
@@ -274,7 +274,7 @@ void OMXCodec::findMatchingCodecs(
}
// static
-sp<OMXCodec> OMXCodec::Create(
+sp<MediaSource> OMXCodec::Create(
const sp<IOMX> &omx,
const sp<MetaData> &meta, bool createEncoder,
const sp<MediaSource> &source,