Loading include/media/stagefright/MediaMuxer.h +0 −6 Original line number Diff line number Diff line Loading @@ -40,12 +40,6 @@ struct MPEG4Writer; // deleting the output file after stop. 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 { Loading media/libstagefright/MediaMuxer.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -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); } Loading Loading
include/media/stagefright/MediaMuxer.h +0 −6 Original line number Diff line number Diff line Loading @@ -40,12 +40,6 @@ struct MPEG4Writer; // deleting the output file after stop. 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 { Loading
media/libstagefright/MediaMuxer.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -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); } Loading