summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLajos Molnar <lajos@google.com>2013-05-28 10:11:35 -0700
committerLajos Molnar <lajos@google.com>2013-05-28 16:22:02 -0700
commit6f505a4c0b91d88d2759fbd7e17d91f3ed715165 (patch)
tree396e40ad43db7979414951cbcff50c09fa3a2181 /include
parent6f6b31da6097f1d770137ebadac5023dd8b79413 (diff)
downloadframeworks_av-6f505a4c0b91d88d2759fbd7e17d91f3ed715165.zip
frameworks_av-6f505a4c0b91d88d2759fbd7e17d91f3ed715165.tar.gz
frameworks_av-6f505a4c0b91d88d2759fbd7e17d91f3ed715165.tar.bz2
MediaMuxer: Remove SAMPLE_FLAG_SYNC flag
MediaMuxer.writeSampleData() uses MediaCodec.BufferInfo objects to specify the flags, so use directly the MediaCodec flags. This is more intuitive and avoids users of the MediaMuxer API having to create translations between MediaMuxer's and MediaCodec's flag constants. Change-Id: I18e12a6839ffb2c63da62516a4dc4c94e8bb3d17 Signed-off-by: Lajos Molnar <lajos@google.com> Bug: 9169479
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/MediaMuxer.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/media/stagefright/MediaMuxer.h b/include/media/stagefright/MediaMuxer.h
index fad319f..c1fdbad 100644
--- a/include/media/stagefright/MediaMuxer.h
+++ b/include/media/stagefright/MediaMuxer.h
@@ -41,12 +41,6 @@ struct MPEG4Writer;
struct MediaMuxer : public RefBase {
public:
// Please update media/java/android/media/MediaMuxer.java if the
- // SampleFlags is updated.
- enum SampleFlags {
- SAMPLE_FLAG_SYNC = 1,
- };
-
- // Please update media/java/android/media/MediaMuxer.java if the
// OutputFormat is updated.
enum OutputFormat {
OUTPUT_FORMAT_MPEG_4 = 0,