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 /media | |
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 'media')
-rw-r--r-- | media/libstagefright/OMXCodec.cpp | 2 |
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, |