Loading media/libstagefright/MPEG4Writer.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -496,7 +496,6 @@ void MPEG4Writer::initInternal(int fd, bool isFirstSession) { mStreamableFile = false; mStreamableFile = false; mTimeScale = -1; mTimeScale = -1; mHasFileLevelMeta = false; mHasFileLevelMeta = false; mHasMoovBox = false; mPrimaryItemId = 0; mPrimaryItemId = 0; mAssociationEntryCount = 0; mAssociationEntryCount = 0; mNumGrids = 0; mNumGrids = 0; Loading @@ -505,6 +504,7 @@ void MPEG4Writer::initInternal(int fd, bool isFirstSession) { // And they will stay the same for all the recording sessions. // And they will stay the same for all the recording sessions. if (isFirstSession) { if (isFirstSession) { mMoovExtraSize = 0; mMoovExtraSize = 0; mHasMoovBox = false; mMetaKeys = new AMessage(); mMetaKeys = new AMessage(); addDeviceMeta(); addDeviceMeta(); mLatitudex10000 = 0; mLatitudex10000 = 0; Loading Loading
media/libstagefright/MPEG4Writer.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -496,7 +496,6 @@ void MPEG4Writer::initInternal(int fd, bool isFirstSession) { mStreamableFile = false; mStreamableFile = false; mTimeScale = -1; mTimeScale = -1; mHasFileLevelMeta = false; mHasFileLevelMeta = false; mHasMoovBox = false; mPrimaryItemId = 0; mPrimaryItemId = 0; mAssociationEntryCount = 0; mAssociationEntryCount = 0; mNumGrids = 0; mNumGrids = 0; Loading @@ -505,6 +504,7 @@ void MPEG4Writer::initInternal(int fd, bool isFirstSession) { // And they will stay the same for all the recording sessions. // And they will stay the same for all the recording sessions. if (isFirstSession) { if (isFirstSession) { mMoovExtraSize = 0; mMoovExtraSize = 0; mHasMoovBox = false; mMetaKeys = new AMessage(); mMetaKeys = new AMessage(); addDeviceMeta(); addDeviceMeta(); mLatitudex10000 = 0; mLatitudex10000 = 0; Loading