OSDN Git Service
(root)
/
android-x86
/
frameworks-av.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7ceda1
)
do not drop TS packet on discontinuity at payload start
author
Chong Zhang
<chz@google.com>
Thu, 5 Jun 2014 21:44:03 +0000
(14:44 -0700)
committer
Chong Zhang
<chz@google.com>
Fri, 6 Jun 2014 20:26:50 +0000
(13:26 -0700)
Bug:
15470543
Change-Id: Ia96a295fbc7e9f1b1d5c0d9091ac62184d44dcfa
media/libstagefright/mpeg2ts/ATSParser.cpp
patch
|
blob
|
history
diff --git
a/media/libstagefright/mpeg2ts/ATSParser.cpp
b/media/libstagefright/mpeg2ts/ATSParser.cpp
index
d1afd8b
..
338e899
100644
(file)
--- a/
media/libstagefright/mpeg2ts/ATSParser.cpp
+++ b/
media/libstagefright/mpeg2ts/ATSParser.cpp
@@
-555,7
+555,9
@@
status_t ATSParser::Stream::parse(
}
#endif
- return OK;
+ if (!payload_unit_start_indicator) {
+ return OK;
+ }
}
mExpectedContinuityCounter = (continuity_counter + 1) & 0x0f;