Chromium Code Reviews
DescriptionMotown: Various fixes related to video playback support
1) Fix end-of-stream handling in MediaTimelineController so that seeking
resets end-of-stream properly.
2) Fix decoder output packet lifetime issue. Previously, Motown took
sole possession of decoder output packets once decoding was complete.
The video decoder, however, needs some decoded frames to stay around
a long time as a basis for decoding 'delta' (e.g. B and P) frames.
This CL makes Motown honor ffmpeg's frame reference counting scheme
so that the frames stay around as long as they're needed.
3) Now DCHECKing that packets have no side data, because we aren't
currently supporting that. Side data will need to be supported in the
future to accommodate some formats.
4) Turn on ffmpeg multiproc decoding.
5) Translate video decoder pts (presentation timestamps) from a simple
frame count to nanoseconds.
6) Increase the max number of outstanding packets a producer will
produce and increase the shared buffer size. This measure is required
to accommodate the offset between audio and video. This is a
temporary measure...max outstanding packets should be dynamic and
shared buffer allocation needs to get a lot smarter.
R=kulakowski@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/47f0ffbb4503478a586c20bce8e041f2deb16ef1
Patch Set 1 #Patch Set 2 : Merged https://codereview.chromium.org/2081753002/ #Patch Set 3 : Comments and name changes for clarity. #
Messages
Total messages: 8 (3 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||