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 | 91eb0354043842d96bf3ef201ce68046db70df74 (patch) | |
| tree | b09f35a1f7887ef25af837d000bd041176368f3b /include | |
| parent | 52f410e2ebba103220cffce05b895f0c38a56665 (diff) | |
| download | frameworks_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.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, |
