Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
frameworks_av
Commits
3030f344
Commit
3030f344
authored
12 years ago
by
Marco Nelissen
Committed by
Gerrit Code Review
12 years ago
Browse files
Options
Download
Plain Diff
Merge "Fixed the wrong timestamps issue about camera recording"
parents
66abe3ae
6e5b6ef1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
media/libstagefright/codecs/m4v_h263/enc/SoftMPEG4Encoder.cpp
...a/libstagefright/codecs/m4v_h263/enc/SoftMPEG4Encoder.cpp
+1
-1
No files found.
media/libstagefright/codecs/m4v_h263/enc/SoftMPEG4Encoder.cpp
View file @
3030f344
...
...
@@ -748,10 +748,10 @@ void SoftMPEG4Encoder::onQueueFilled(OMX_U32 portIndex) {
outQueue
.
erase
(
outQueue
.
begin
());
CHECK
(
!
mInputBufferInfoVec
.
empty
());
InputBufferInfo
*
inputBufInfo
=
mInputBufferInfoVec
.
begin
();
mInputBufferInfoVec
.
erase
(
mInputBufferInfoVec
.
begin
());
outHeader
->
nTimeStamp
=
inputBufInfo
->
mTimeUs
;
outHeader
->
nFlags
|=
(
inputBufInfo
->
mFlags
|
OMX_BUFFERFLAG_ENDOFFRAME
);
outHeader
->
nFilledLen
=
dataLength
;
mInputBufferInfoVec
.
erase
(
mInputBufferInfoVec
.
begin
());
outInfo
->
mOwnedByUs
=
false
;
notifyFillBufferDone
(
outHeader
);
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment