summaryrefslogtreecommitdiffstats
path: root/include
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
commit91eb0354043842d96bf3ef201ce68046db70df74 (patch)
treeb09f35a1f7887ef25af837d000bd041176368f3b /include
parent52f410e2ebba103220cffce05b895f0c38a56665 (diff)
downloadframeworks_base-91eb0354043842d96bf3ef201ce68046db70df74.zip
frameworks_base-91eb0354043842d96bf3ef201ce68046db70df74.tar.gz
frameworks_base-91eb0354043842d96bf3ef201ce68046db70df74.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 'include')
-rw-r--r--include/media/stagefright/OMXCodec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/stagefright/OMXCodec.h b/include/media/stagefright/OMXCodec.h
index 4199252..351763c 100644
--- a/include/media/stagefright/OMXCodec.h
+++ b/include/media/stagefright/OMXCodec.h
@@ -33,7 +33,7 @@ struct OMXCodec : public MediaSource,
enum CreationFlags {
kPreferSoftwareCodecs = 1,
};
- static sp<OMXCodec> Create(
+ static sp<MediaSource> Create(
const sp<IOMX> &omx,
const sp<MetaData> &meta, bool createEncoder,
const sp<MediaSource> &source,