summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-10-07 14:02:26 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-10-07 14:02:26 -0700
commitda91f0b87bded1e4ebc9cc1a1712c7a0d44fba84 (patch)
tree6345839c3d83daea788ff7ed31d5e0469bcfcc49 /include
parent712a002fa3a507158c9ae3435b843edd3a69d7e8 (diff)
parent2a4d22d79e927f2245537921e10fc5fda1c47a29 (diff)
downloadframeworks_av-da91f0b87bded1e4ebc9cc1a1712c7a0d44fba84.zip
frameworks_av-da91f0b87bded1e4ebc9cc1a1712c7a0d44fba84.tar.gz
frameworks_av-da91f0b87bded1e4ebc9cc1a1712c7a0d44fba84.tar.bz2
am 949f7d90: Merge "Work to support switching transport streams mid-stream and signalling discontinuities to the decoder." into gingerbread
Merge commit '949f7d9066e09768e570686a5695aaba4a1dafd0' into gingerbread-plus-aosp * commit '949f7d9066e09768e570686a5695aaba4a1dafd0': Work to support switching transport streams mid-stream and signalling discontinuities to the decoder.
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/MediaErrors.h1
-rw-r--r--include/media/stagefright/OMXCodec.h5
2 files changed, 4 insertions, 2 deletions
diff --git a/include/media/stagefright/MediaErrors.h b/include/media/stagefright/MediaErrors.h
index 73d0f77..e44122d 100644
--- a/include/media/stagefright/MediaErrors.h
+++ b/include/media/stagefright/MediaErrors.h
@@ -39,6 +39,7 @@ enum {
// Not technically an error.
INFO_FORMAT_CHANGED = MEDIA_ERROR_BASE - 12,
+ INFO_DISCONTINUITY = MEDIA_ERROR_BASE - 13,
};
} // namespace android
diff --git a/include/media/stagefright/OMXCodec.h b/include/media/stagefright/OMXCodec.h
index 9badf92..2bb7783 100644
--- a/include/media/stagefright/OMXCodec.h
+++ b/include/media/stagefright/OMXCodec.h
@@ -32,7 +32,8 @@ struct CodecProfileLevel;
struct OMXCodec : public MediaSource,
public MediaBufferObserver {
enum CreationFlags {
- kPreferSoftwareCodecs = 1,
+ kPreferSoftwareCodecs = 1,
+ kIgnoreCodecSpecificData = 2
};
static sp<MediaSource> Create(
const sp<IOMX> &omx,
@@ -248,7 +249,7 @@ private:
void dumpPortStatus(OMX_U32 portIndex);
- status_t configureCodec(const sp<MetaData> &meta);
+ status_t configureCodec(const sp<MetaData> &meta, uint32_t flags);
static uint32_t getComponentQuirks(
const char *componentName, bool isEncoder);