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

776 Коммитов

Автор SHA1 Сообщение Дата
Alfredo.Yang 776dcceab4 Bug 1415809 - stop building stagefright. r=kinetik
MozReview-Commit-ID: 4PUrzpKkC6M


remove extra build config



Bug 1415809 - stop building stagefright. r?kinetik

--HG--
extra : rebase_source : cc8ef91bd3e4f1c0352ec8b2347ee79ffe167560
2017-11-14 15:45:23 +08:00
Alfredo.Yang 59da86b6b1 Bug 1415809 - update gtest. r=kinetik
MozReview-Commit-ID: Ck94z9GhXZa

--HG--
extra : rebase_source : a2f322dbd42aad549258581f4fdc1b84b7630c22
2017-11-13 16:50:02 +08:00
Alfredo.Yang 13cd8ce149 Bug 1415809 - remove stagefright stuff from DecoderData. r=kinetik
MozReview-Commit-ID: DzCNkweiNHZ

--HG--
extra : rebase_source : 6f63cdb023f501f4a3c16b697b7a4d45f3ca0911
2017-11-10 16:02:06 +08:00
Alfredo.Yang f2716d5693 Bug 1415809 - rename MP4MetadataRust to MP4Metadata. r=kinetik
MozReview-Commit-ID: Inbl2zoIYvj

--HG--
extra : rebase_source : c30b057ae1722bedb72c2e96aa4c252e72fd724f
2017-11-10 15:29:44 +08:00
Alfredo.Yang 77f0ffd196 Bug 1415809 - return error when parsing fails. r=kinetik
MozReview-Commit-ID: Dlzx9fsGEbE

--HG--
extra : rebase_source : 139152fcf02d51bb74e85a9feea7deb60fcddebe
2017-11-09 16:07:31 +08:00
Alfredo.Yang ff70c5cd00 Bug 1415809 - remove MP4MetadataStagefright. r=kinetik
MozReview-Commit-ID: 19HhGal5E16

--HG--
extra : rebase_source : 68c28196ff8cb1d96d7e412364c08553e9f1e1b3
2017-11-08 15:40:05 +08:00
Alfredo.Yang b4d31b83be Bug 1415807 - remove 'chan' box becuase it could exist with other codec types. r=kinetik
MozReview-Commit-ID: EGjjIZQHgYO

--HG--
extra : rebase_source : 8ebcd35399db292996e09dd1b458313420f4573e
2017-11-10 09:30:30 +08:00
Alfredo.Yang 6816c396dc Bug 1393045 - support QT AudioSampleEntry v2. r=kinetik
MozReview-Commit-ID: GchJJBrdKYm

--HG--
extra : rebase_source : a74d0c4a944802e1905c6e16d052d2675322fc3e
2017-11-08 09:21:58 +08:00
Alfredo.Yang 4e9d007f90 Bug 1413076 - return other kind of error in addition to OOM. r=jya
MozReview-Commit-ID: CpRF1Kr5Z2c

--HG--
extra : rebase_source : 56dbc1926d5e051ad5261d4bd495c9fbe5c26833
2017-10-31 10:13:51 +08:00
Alfredo.Yang 38793a1060 Bug 1414742 - logging BufferReader error only when enabling mozlog in MP4Metadata. r=kinetik
MozReview-Commit-ID: z69MJKQV5y

--HG--
extra : rebase_source : 36da5aa42e65320c147cb4f1887d9e2569df1726
2017-11-06 16:21:19 +08:00
Alfredo.Yang 6a9a8c409a Bug 1413702 - avoid dividing by zero. r=kinetik
MozReview-Commit-ID: 38ZdC9udcH1

--HG--
extra : rebase_source : 78f784be1cad741ce84b464c7537af2e15ba68c9
2017-11-06 17:26:09 +08:00
Chris Pearce f231fe980b Bug 1414991 - Unified build fixes in media. r=gerald
MozReview-Commit-ID: KjLeQMSxOfO

--HG--
extra : rebase_source : 37b7222bfbadc0836acdeee19ebd82676872b4ea
2017-11-07 12:57:34 +13:00
JW Wang 2e17f2f227 Bug 1414213. P2 - don't continue reading if reader.Read(5) failed. r=jya
MozReview-Commit-ID: 1vNbACa9Vpv

--HG--
extra : rebase_source : 099d2ea1a704e6b2b710b80a273ab9f9d3e3257e
2017-11-06 11:24:16 +08:00
JW Wang e75848012d Bug 1414213. P1 - H264::NumSPS() should return 0 if aExtraData is empty. r=jya
MozReview-Commit-ID: JTzEqYt9mQr

--HG--
extra : rebase_source : 660d93f8088ae3d01ba23c74ee6deef7a0cb34aa
extra : source : 9f971ae67cecbd4d040881b3ed0b1752b6a6e04d
2017-11-03 17:40:32 +08:00
Alfredo.Yang 0dd9f867bb Bug 1407833 - update rust mp4 parser for add overflow. r=kinetik
MozReview-Commit-ID: 8nGLWcXmGCr

--HG--
extra : rebase_source : 36452e27c7a6d9488164defa03f7eea281ddeef3
2017-11-01 14:48:15 +08:00
Alfredo.Yang 3d80dc7ec4 Bug 1412216 - remove unused functions in BufferReader. r=kinetik
MozReview-Commit-ID: 8y6CCe1mleo

--HG--
extra : rebase_source : 99a75aa64e99d30b431c576b8e3b4921028df70a
2017-10-27 15:09:36 +08:00
Alfredo.Yang 952d71b21f Bug 1412216 - remove ByteReader. r=kinetik
MozReview-Commit-ID: 26Pf8GXXoPh

--HG--
extra : rebase_source : f48fe10a9b421968c23d7eb7000b0508cd90537b
2017-10-25 15:42:34 +08:00
Alfredo.Yang 510e47a924 Bug 1412183 - use BufferReader instead of ByteReader in DecoderData. r=kinetik
MozReview-Commit-ID: AgcOuWn7ouo

--HG--
extra : rebase_source : e2aa46b47e848a8d51dc6e48a58e46db6f669b68
2017-10-25 15:40:24 +08:00
Alfredo.Yang c4c528d6c5 Bug 1412183 - use BufferReader instead of ByteReader in H264 parser. r=kinetik
MozReview-Commit-ID: KhwWj1Nr85E

--HG--
extra : rebase_source : 6994f676d9946a38d5577956a4ad33577ef3b535
2017-10-25 15:26:45 +08:00
Alfredo.Yang ae23abee61 Bug 1412183 - use BufferReader instead of ByteReader in AnnexB parser. r=kinetik
MozReview-Commit-ID: YZ4vo7o0Gs

--HG--
extra : rebase_source : 01d7242162cc31dfe1d703e4ded03cd8c5d93748
2017-10-25 09:58:43 +08:00
Alfredo.Yang 86695f2d80 Bug 1412183 - use BufferReader instead of ByteReader in mp4 index parser. r=kinetik
MozReview-Commit-ID: KNfqpgzQleE

--HG--
extra : rebase_source : ef97f84ba308df097097a9ef84e3c3378078d432
2017-10-23 10:43:30 +08:00
Alfredo.Yang 8da0342978 Bug 1411821 - use BufferReader instead of ByteReader in MP3 parser. r=kinetik
MozReview-Commit-ID: BpfCZUG7C6c

--HG--
extra : rebase_source : 45716111d62faac68499f4c369e3cb948de190ce
2017-10-20 11:54:29 +08:00
Alfredo.Yang 41a2709293 Bug 1411525 - use BufferReader in flac/ogg parser. r=kinetik
MozReview-Commit-ID: 5chnxLnpqmY

--HG--
extra : rebase_source : 85e68812f1d354813ae36731a5a36bfe7f58c2e2
2017-10-19 10:16:32 +08:00
Chris Manchester c86173526a Bug 1403346 - Replace all uses of ALLOW_COMPILER_WARNINGS with a template, remove ALLOW_COMPILER_WARNINGS. r=glandium
MozReview-Commit-ID: 1G2o4fy74cf
2017-10-25 15:12:09 -07:00
Alfredo.Yang ccda6970dd Bug 1410565 - add gtest for mTimescale checking. r=kinetik
MozReview-Commit-ID: JHpbUKIyOkN

--HG--
extra : rebase_source : 34768a30256b2f1e39478049a5009b28beb1d9e5
2017-10-24 16:05:46 +08:00
Alfredo.Yang 5ad617cb8a Bug 1410565 - check mTimescale to avoid dividing by zero. r=kinetik
MozReview-Commit-ID: 7uxgaVAbQds

--HG--
extra : rebase_source : c3976d03877cdd8d1e03ee22ca29f54a9800eb67
2017-10-24 14:44:19 +08:00
Chris Pearce 3a511d931d Bug 1409546 - Use literal strings instead of assigning const char* to TrackInfo::mMimeType in mp4 demuxer. r=gerald
This works around an issue in xpcom strings that causes us to report leaking
a string for some unknown reason, so that we can unblock gecko-media which
wants to run the MP4Demuxer seek test.

We should follow up and try to figure out the root cause at a later time.

MozReview-Commit-ID: C6UlOTAIh1l

--HG--
extra : rebase_source : e9b3bceb28ada6ab0e0c3de5588c07228d722d0e
2017-10-18 08:12:51 +02:00
Sebastian Hengst 34714cebde merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2KL1o3EPUk
2017-10-17 23:52:28 +02:00
Alfredo.Yang a9ea7d485f Bug 1409298 - print log when parse failed. r=kinetik
MozReview-Commit-ID: D02HVh6liJS

--HG--
extra : rebase_source : 5ef37ad35a79050db61e4ada42e40ae634fe8940
2017-10-17 16:51:58 +08:00
Alfredo.Yang 2c5201069c Bug 1387798 - remove uncessary check for remaining data and add error log when parsing fails. r=kinetik
MozReview-Commit-ID: Bo6q3ysvktr

--HG--
extra : rebase_source : 2c6f4e2b9475c2c8a8d718f1cb2ef59cde518b71
2017-10-13 14:40:05 +08:00
Alfredo.Yang 136532474c Bug 1387798 - use Result as return value in BufferReader. r=kinetik
MozReview-Commit-ID: uLny8ebSic

--HG--
extra : rebase_source : 964a677865f82f1fa745ffa0530ebe5fb5ebb76b
2017-10-13 09:44:48 +08:00
Alfredo.Yang e707fdfbf4 Bug 1387798 - move initialized codes out of box constructor to another function which could be able to return error. r=kinetik
MozReview-Commit-ID: 5LJVCTYIT7o

--HG--
extra : rebase_source : a87d825abb76b5c9410eee1b996f3559ca7153d7
2017-10-13 10:13:28 +08:00
Alfredo.Yang 9bc0b0adbc Bug 1387798 - rename to BufferReader. r=kinetik
MozReview-Commit-ID: E1zhXdLEPFS

--HG--
extra : rebase_source : d2ef3260a6545c2d8c271126d7917df9443473fd
2017-10-11 15:55:15 +08:00
Alfredo.Yang 1eb3494e1d Bug 1387798 - copy ByteReader. r=kinetik
MozReview-Commit-ID: 6L0A3sEbLKY

--HG--
rename : media/libstagefright/binding/include/mp4_demuxer/ByteReader.h => media/libstagefright/binding/include/mp4_demuxer/BufferReader.h
extra : rebase_source : 4605dadad2be963306277f5c6563c12c62427615
2017-10-11 15:51:35 +08:00
Philippe Normand 52c9629669 Bug 1407063 - Fix non-unified build in SampleTable.h. r=gerald
nsTArray was previously used without prior declaration. Including the nsTArray.h
header fixes this issue.

MozReview-Commit-ID: 5FmrbjSmZUD

--HG--
extra : rebase_source : d87fd737d3a15067d7106b4fe4ae1f937d799e10
2017-10-05 15:58:16 +02:00
Philippe Normand 6aa2e63f95 Bug 1407063 - Fix non-unified build in MPEG4Extractor.cpp. r=gerald
Calls to fallible need to be prefixed by the mozilla namespace because
it's not declared as globally usable.

MozReview-Commit-ID: CJoAoTjXGUH

--HG--
extra : rebase_source : 81618f26b4f2b16b11998673a6cad67d4bca49d4
2017-10-05 15:57:12 +02:00
Philippe Normand 40d1887a1d Bug 1407063 - Fix non-unified build in ESDS.cpp. r=gerald
Fallible is used in this compilation unit so the corresponding header
needs to be included. The <new> header is also required for new placement
calls.

MozReview-Commit-ID: 2eZ8U1wDYs8

--HG--
extra : rebase_source : 53f17d2ef7f8826ac344a2dc2bb278b7b83cbee5
2017-10-05 15:55:43 +02:00
Philippe Normand b93692bf71 Bug 1407063 - Fix non-unified build in SinfParser.cpp. r=gerald
The Stream class is used in this compilation unit so the Stream.h header needs
to be included.

MozReview-Commit-ID: 54X1UKuydUy

--HG--
extra : rebase_source : 96585c678b163fd7506b60ba3c2390d6f8b51d33
2017-10-05 15:54:08 +02:00
Philippe Normand 71f0559306 Bug 1407063 - Fix non-unified build in DecoderData.cpp. r=gerald
EndianUtils.h include was missing and some function calls required
explicit mention to the mozilla namespace.

MozReview-Commit-ID: CFsr7RJ7IGx

--HG--
extra : rebase_source : 01cde66752d6a71938cd1fe9d5f009158ceb7868
2017-10-05 15:53:07 +02:00
Philippe Normand de1fe404f9 Bug 1407063 - Fix non-unified build in MoofParser.cpp. r=gerald
The stagefright namespace isn't used in this file and because it
wasn't previously declared in this compilation unit, a compiler error was raised.

MozReview-Commit-ID: HoYyrmIIXSV

--HG--
extra : rebase_source : 57ac59c06cdc4f54676c86a109ae404072541555
2017-10-05 15:51:32 +02:00
Chris Pearce 47c2e3ae92 Bug 1405697 - Move BaseMediaResource declaration to its own file. r=jwwang
This means we can simplify MediaResource.h to only include the abstract
interface, and MediaResourceIndex.

I also had to add a few includes here and there to fix the non-unified build.


MozReview-Commit-ID: 4R7LTXq25dm

--HG--
rename : dom/media/MediaResource.h => dom/media/BaseMediaResource.h
extra : rebase_source : edef4a65df4dcb92f8536052d170d78f95315753
2017-10-04 20:57:11 +02:00
Arthur Edelstein 5b21d91dce Bug 1405139 - Fix ubsan runtime error for TrackInfo::TrackType. r=gerald
We're plan to enforce -fsanitize=enum, so no need to test outside
the enum range.
2017-10-03 10:17:00 -04:00
Alfredo.Yang 0e22fafb90 Bug 1404182 - add testcase for bug 1380468. r=kinetik
MozReview-Commit-ID: Kg9QeszWnNT

--HG--
extra : rebase_source : 110e38299efadd892ffdc0146f83117981b74f54
2017-09-29 10:55:29 +08:00
Alfredo.Yang 99296b3786 Bug 1388991 - add test case for subtraction underfolw in SampleToChunkIterator. r=kinetik
MozReview-Commit-ID: 8IV0RkDL8r7

--HG--
extra : rebase_source : 196d0af229c3f5181c286999f60c63da5a7ca408
2017-09-28 10:51:18 +08:00
Alfredo.Yang 6b8eff34c3 Bug 1388991 - check subtraction underflow. r=kinetik
MozReview-Commit-ID: DYsqlXyjZs

--HG--
extra : rebase_source : 557265db7fb42fea0b8b9f212c32f854e96a95c7
2017-09-28 10:19:33 +08:00
Alfredo.Yang b0d7f38b36 Bug 1395244 - add gtest for index out of bounds in rust mp4 parser. r=kinetik
MozReview-Commit-ID: HeFwZgOpMdK

--HG--
extra : rebase_source : 69a011964b7e58ac22adc31ffa99051776a67fe8
2017-09-05 15:13:02 +08:00
Alfredo.Yang 588fc5b9e0 Bug 1389527 - add testcase for invalid sample table. r=kinetik
MozReview-Commit-ID: 5e4oQPLtcuZ

--HG--
extra : rebase_source : 1a3364037f5fe49e732983d95758a2b670667452
2017-09-25 11:16:29 +08:00
Alfredo.Yang 155d999aa3 Bug 1401071 - move fallible memory allocation github instead of including source and other nits. r=kinetik
MozReview-Commit-ID: 40Yg8wUqZ2g

--HG--
extra : rebase_source : a2c192c06ae85be6e71172702b4bb73eb912fc7b
2017-09-25 09:14:00 +08:00
Jean-Yves Avenard 53ef359a19 Bug 1389304 - Don't include samples that won't be demuxed in range calculation. r=kikuo
Invalid samples with empty content won't ever be demuxed. As such they can't participate in buffered range calculations.

MozReview-Commit-ID: 9LPhyKKMSyM

--HG--
extra : rebase_source : 229f19f08eba6e59b5585699805df9df9fd482b9
2017-09-19 09:11:26 +02:00
Alfredo.Yang 71448a61d9 Bug 1389470 - fix for zero size memory leak. r=kinetik
MozReview-Commit-ID: F1hBnukiwKN

--HG--
extra : rebase_source : 1a2c4b32d7990d0483a4a78b29a8cd0c3079c68a
2017-09-14 10:29:43 +08:00