commit | 72405f407a56eb3da971ef321d21e727e9f0ea6d | [log] [tgz] |
---|---|---|
author | Gopalakrishnan Nallasamy <gokrishnan@google.com> | Fri Aug 28 15:43:30 2020 -0700 |
committer | Gopalakrishnan Nallasamy <gokrishnan@google.com> | Sat Sep 26 03:38:08 2020 +0000 |
tree | 9f0e1c4675b7dab43937f43bc30b4d6e838eb371 | |
parent | 3b64fd364e3432ac96eceeb8b03aebffaeffef14 [diff] |
MediaMuxer:Avoid hang during stop() on empty track Bug: 158322503 Check if mandatory fields are present in MediaFormat based on the type of a track while adding track to MediaMuxer. Test: atest android.media.cts.MediaMuxerTest atest android.mediav2.cts.MuxerTest Change-Id: I344af35977e5b329ecf08e2102257f078d9ba091