summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorLajos Molnar <lajos@google.com>2013-05-29 15:14:04 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-05-29 15:14:04 -0700
commit1cd68527a6c4cc92608dfe8a8c6ba51e5e2c4fc2 (patch)
tree9233061d186a6d92e9fb42f63fdffd98c68bc219 /media
parent197d3e077384087a8674bbfcbecf63a88e611426 (diff)
parent41688da226e91c97ea3b2fe096044e1e5b0520bc (diff)
downloadframeworks_av-1cd68527a6c4cc92608dfe8a8c6ba51e5e2c4fc2.zip
frameworks_av-1cd68527a6c4cc92608dfe8a8c6ba51e5e2c4fc2.tar.gz
frameworks_av-1cd68527a6c4cc92608dfe8a8c6ba51e5e2c4fc2.tar.bz2
am 41688da2: Merge "MediaMuxer: Remove SAMPLE_FLAG_SYNC flag" into jb-mr2-dev
* commit '41688da226e91c97ea3b2fe096044e1e5b0520bc': MediaMuxer: Remove SAMPLE_FLAG_SYNC flag
Diffstat (limited to 'media')
-rw-r--r--media/libstagefright/MediaMuxer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/MediaMuxer.cpp b/media/libstagefright/MediaMuxer.cpp
index 388c65b..94ce5de 100644
--- a/media/libstagefright/MediaMuxer.cpp
+++ b/media/libstagefright/MediaMuxer.cpp
@@ -161,7 +161,7 @@ status_t MediaMuxer::writeSampleData(const sp<ABuffer> &buffer, size_t trackInde
// Just set the kKeyDecodingTime as the presentation time for now.
sampleMetaData->setInt64(kKeyDecodingTime, timeUs);
- if (flags & SAMPLE_FLAG_SYNC) {
+ if (flags & MediaCodec::BUFFER_FLAG_SYNCFRAME) {
sampleMetaData->setInt32(kKeyIsSyncFrame, true);
}