Граф коммитов

201 Коммитов

Автор SHA1 Сообщение Дата
Jean-Yves Avenard 8749413e81 Bug 1142433: Properly scale duration found in movie extend header box. r=k17e
--HG--
extra : rebase_source : 8d02111faf03bdbcd854ee4c0118919bc18253af
2015-03-18 14:10:57 +11:00
Jean-Yves Avenard c93f86dbea Bug 1100210: Mark MPEG2 Layer 1,2,3 audio as MP3. r=k17e
Extract data from ESDS atom's objectTypeIndication
2015-03-17 16:42:47 +11:00
Jean-Yves Avenard ddd2384f4e Bug 1143516: Ignore SPS's aspect ratio if value is nonsensical. r=cpearce 2015-03-17 16:42:02 +11:00
Jean-Yves Avenard e939a4d7a8 Bug 1139271: Part3. Only consider a Box to be available if entire content is available. r=k17e 2015-03-16 23:08:56 +11:00
Jean-Yves Avenard 306c482476 Bug 1139271: Part2. Ignore partial moof. r=k17e 2015-03-16 23:08:56 +11:00
Jean-Yves Avenard f907f6cb3d Bug 1139271: Part1. Add logging when encountering invalid atoms. r=k17e 2015-03-16 23:08:55 +11:00
Bobby Holley ca9369a50d Bug 1141785 - Force all audio samples to be keyframes. r=k17e 2015-03-15 21:29:55 -07:00
Chris Peterson df594b2b0d Bug 1143336 - Fix and suppress -Wunreachable-code-return warnings in media code. r=cajbir 2015-03-14 13:47:51 -07:00
Phil Ringnalda 47752f8090 Back out 1ee5457afe8c (bug 1142433) for frequent w-p-t-3 failures
CLOSED TREE
2015-03-12 20:28:14 -07:00
Jean-Yves Avenard e08bc83ae4 Bug 1142433: Properly scale duration found in movie extend header box. r=k17e
--HG--
extra : rebase_source : c6e68f8c0510a4449f77cebbbfcc39ae4fbd24c3
2015-03-13 09:42:28 +11:00
Jean-Yves Avenard adf3e336a3 Bug 1128381: Part3. Handle on the fly video format change. r=cpearce
Add monitoring of the current SPS NAL and destroy/recreate H264 decoder as
required.

--HG--
extra : rebase_source : fbab04b0ae3b4be42eea34a1c6f1b19bf39ad2f0
2015-03-12 11:07:19 +11:00
Jean-Yves Avenard 06ae6e08e7 Bug 1128381: Part2. Properly extract extradata from AVC1 sample. r=rillian
--HG--
extra : rebase_source : a67173bfcc4184211ab0b90e3b7634b1730288d5
2015-03-12 11:07:19 +11:00
Jean-Yves Avenard b54607fb46 Bug 1128381: Part1. Don't assert on empty extra_data. r=kentuckyfriedtakahe
--HG--
extra : rebase_source : abb00650dc676d413d761f45085241df6a6cdd81
2015-03-12 11:07:19 +11:00
Jean-Yves Avenard 60fd94d4f2 Bug 1139779: Part1. Extract display dimension from SPS NAL. r=rillian 2015-03-10 21:19:41 +11:00
Edwin Flores 96a3f8c908 Bug 1140933 - Handle empty subsample encryption information in SampleIterator - r=cpearce 2015-03-09 13:55:33 +13:00
Anthony Jones 8eff7a3ee8 Bug 1135544 - Create an abstract base class for a track demuxer; r=kinetik 2015-03-05 17:30:44 +13:00
Jean-Yves Avenard fc5089207f Bug 1134064: Part3. Don't evict partial data and make resource unplayable. r=k17e 2015-02-20 14:19:14 +13:00
Jean-Yves Avenard aa31157b0a Bug 1130450: Properly handle MP4 with Apple QT extension. r=k17e 2015-02-19 15:37:11 +13:00
Anthony Jones 28c7d528c1 Bug 1133572 - Use new demuxer for all sample fetches; r=cpearce 2015-02-18 19:13:15 +13:00
Anthony Jones 250218269a Bug 1133572 - Remove duplication of logic from GetNextKeyframeTime(); r=cpearce 2015-02-18 19:13:14 +13:00
Jean-Yves Avenard 6dffa7b1fa Bug 1133478: Postpone parsing TRUN atom until we have all dependent atoms. r=k17e
Atoms may be out of order inside MOOF, in particular the TFDT may only be
defined after TRUN.
2015-02-17 16:22:52 +13:00
Bobby Holley 2cd7434422 Bug 1127554 - Do a fallible allocation in SampleIterator::GetNext. v1 r=mattwoodrow 2015-02-13 12:19:38 -08:00
Bobby Holley ced4bbc434 Bug 1127554 - Make MP4Sample::Replace fallible. v1 r=mattwoodrow 2015-02-13 12:19:37 -08:00
Bobby Holley 6217aabf6a Bug 1127554 - Make MP4Sample::Prepend fallible. v1 r=mattwoodrow 2015-02-13 12:19:37 -08:00
Bobby Holley 620ec20063 Bug 1127554 - Make MP4Sample::Pad fallible. v1 r=mattwoodrow 2015-02-13 12:19:36 -08:00
Bobby Holley f055cc749a Bug 1127554 - Get rid of infallible allocation in MP4Sample copy constructor. v2 r=mattwoodrow 2015-02-13 12:19:36 -08:00
Jean-Yves Avenard c2512b6c85 Bug 1128939: Part3. Allocate media buffer internal memory dynamically. r=k17e 2015-02-12 18:52:12 +11:00
Jean-Yves Avenard 4132c3064d Bug 1128939: Part2. Make sure we limit read to buffer size and handle error nicely. r=k17e 2015-02-12 18:52:12 +11:00
Jean-Yves Avenard dbc2bf7237 Bug 1128939: Part1. Ensure we have any space in the media buffer before writing. r=k17e 2015-02-11 17:40:13 +11:00
Jean-Yves Avenard 67411f1d5e Bug 1129732: Part1. Dynamically adjust calculations using timestampoffset. r=mattwoodrow
Timestamp Offset calculations are now done exclusively by the Media Source
components which allow to recalculate them on the fly. By abstracting those
offsets it remove the need for the sub-decoders to handle them (which allows
to add WebM support).
2015-02-09 23:28:59 +11:00
Jean-Yves Avenard 2b8def7fd2 Bug 1129071: Add log error should we run out of memory. r=k17e 2015-02-09 23:28:58 +11:00
Jean-Yves Avenard 029454fbd8 Bug 1128410: Part2. Make memory allocation dynamic. r=kentuckyfriedtakahe
Allocations are fallibles.
2015-02-02 21:36:51 +11:00
Jean-Yves Avenard bc3b53cf6a Bug 1128410: Lazily allocate the MP4 parser buffer. r=kentuckyfriedtakahe
This buffer is unsused for fragmented MP4. So we don't need to unecessarily
allocate it and block a chunk of 3MB data. Also, this removes the restriction
of playing YouTube video > 1080p
2015-02-02 21:36:48 +11:00
Edwin Flores fcfce237f4 Bug 1127115 - Make MP4 parser assertion non-fatal - r=ajones 2015-01-30 16:54:12 +13:00
Edwin Flores 629afc55c1 Bug 1118597 - Parse sinf boxes in MoofParser - r=jya 2015-01-19 21:39:00 +13:00
Edwin Flores d7eb4c6718 Bug 1118597 - Re-enable MoofParser for encrypted MP4 streams - r=jya 2015-01-27 18:35:36 +13:00
Brian Smith 7f449f0490 Bug 1119072, Part 8: Work around internal compiler error in VS2015 (libstagefright), r=cpearce
--HG--
extra : rebase_source : a92130375280523b216562e06f11c6e3f755b9e6
2015-01-08 23:08:36 -08:00
Jean-Yves Avenard 37b20c8416 Bug 1123507: Prevent out of bound memory access. r=edwin
--HG--
extra : rebase_source : 48c8a833b0b394d0c35754b2311f54e8bf8c5b66
2015-01-20 13:42:30 +11:00
Jean-Yves Avenard dcd8fcb072 Bug 1116056: Ensure all atoms read are valid. r=mattwoodrow
--HG--
extra : rebase_source : 6d5575bd0886b70dec23e1bccb638b1591eef5e9
2015-01-20 13:42:27 +11:00
Chris Pearce 8a239a32e3 Bug 1123498 - Make MP4Reader skip-to-next-keyframe less aggressively. r=mattwoodrow 2015-01-20 15:20:43 +13:00
Jean-Yves Avenard 2ceb0057af Bug 1120075: Use Movie Extend Header's duration as fallback when available. r=kentuckyfriedtakahe
--HG--
extra : rebase_source : 54e554e183d9072908ec02b6c14de5c2f46e8204
2015-01-16 23:49:01 +11:00
Jean-Yves Avenard af543c1cd3 Bug 1121757: Prevent out of bound memory access should AVC data be invalid. r=kinetik 2015-01-16 20:27:11 +11:00
Jean-Yves Avenard f99ae61070 Bug 1121342: Re-search for Moof if an initial attempt to find it failed. r=kentuckyfriedtakahe
--HG--
extra : rebase_source : 009d8048a8917d5ff1a1660b0b6cf8220743cba8
2015-01-16 15:48:43 +11:00
Brian Smith 02a7263b3f Bug 1119776, Part 2: Avoid defining snprintf when MSVC provides it (video), r=giles
--HG--
extra : rebase_source : 0ea7b0b1a65b31993df689784dd17e741a0c312e
2015-01-08 22:32:03 -08:00
Anthony Jones 6c9a65317c Bug 1116056 - Change MOZ_ASSERT() to NS_WARNING() in Box::Read(); r=jya 2015-01-14 16:57:14 +13:00
Bobby Holley 85966c53ed Bug 1119456 - Make MP4Demuxer's blocking reads non-blocking and hoist blocking into callers with a hacky retry strategy. r=k17e 2015-01-11 13:24:26 -08:00
Carsten "Tomcat" Book dff961fa6a Merge mozilla-central to b2g-inbound 2015-01-08 15:44:18 +01:00
Ethan Lin 3cf7829b11 Bug 1118698 - Add namespace for automic functions to prevent redefine error. r=ajones 2015-01-07 03:41:00 -05:00
Bobby Holley c69456ab40 Bug 1064128 - Implement support for timestampOffset in segments mode. r=k17e,r=cajbir 2015-01-07 15:58:55 -08:00
Chris Pearce 2f391988bb Bug 1118593 - Disable MoofParser for encrypted streams. r=kentuckyfriedtakahe 2015-01-07 17:09:27 +13:00