diff options
author | Andreas Huber <andih@google.com> | 2009-12-07 09:43:00 -0800 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2009-12-07 09:43:00 -0800 |
commit | bf697e37550d9e8376089b0b5e498613bede798c (patch) | |
tree | b9e89f19038a23f9b4ad0e667b8ac1a37f8738df /include | |
parent | f0fb96c352f30b812a4903a1d783a715e1e817bd (diff) | |
download | frameworks_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 'include')
-rw-r--r-- | include/media/stagefright/OMXCodec.h | 2 |
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, |