diff options
author | Shalaj Jain <shalajj@codeaurora.org> | 2015-10-13 17:56:23 -0700 |
---|---|---|
committer | Shivaprasad Hongal <shongal@codeaurora.org> | 2015-10-26 20:36:36 -0700 |
commit | a729f437f5f46efbd366721d7d4f398186ce77cd (patch) | |
tree | 41908c6e819bc23a0ae57de0590552b077d6f3a0 /include/media | |
parent | d4c3afbb613f7201ece31ad2230ec22289422680 (diff) | |
download | frameworks_av-a729f437f5f46efbd366721d7d4f398186ce77cd.zip frameworks_av-a729f437f5f46efbd366721d7d4f398186ce77cd.tar.gz frameworks_av-a729f437f5f46efbd366721d7d4f398186ce77cd.tar.bz2 |
nuplayer: Drop frames with DATACORRUPT flag
Drop frames in NuplayerDecoder if the corresponding
OMX_BUFFERFLAG_DATACORRUPT is set from OMX.
Add a util function to easily switch off this feature.
Do not declare MediaSource explicitly.
Change-Id: I97bd238d52d660e1ab61eac222cdff28334cc5cc
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/stagefright/MediaCodec.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/stagefright/MediaCodec.h b/include/media/stagefright/MediaCodec.h index b0ae83b..9c489e5 100644 --- a/include/media/stagefright/MediaCodec.h +++ b/include/media/stagefright/MediaCodec.h @@ -52,6 +52,7 @@ struct MediaCodec : public AHandler { BUFFER_FLAG_CODECCONFIG = 2, BUFFER_FLAG_EOS = 4, BUFFER_FLAG_EXTRADATA = 0x1000, + BUFFER_FLAG_DATACORRUPT = 0x2000, }; enum { |