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

171 Коммитов

Автор SHA1 Сообщение Дата
Wes Kocher 7e8f316730 Backed out 8 changesets (bug 1336510) for windows debug mn-e10s failures a=backout
Backed out changeset 419ada2f9e81 (bug 1336510)
Backed out changeset 19239f566a93 (bug 1336510)
Backed out changeset c8aeead6fe83 (bug 1336510)
Backed out changeset 422e63b872b5 (bug 1336510)
Backed out changeset 21869174dfd3 (bug 1336510)
Backed out changeset 57476b9f342d (bug 1336510)
Backed out changeset e842cdaaa7e5 (bug 1336510)
Backed out changeset bd943b368ff7 (bug 1336510)

MozReview-Commit-ID: 2z3Wa9QFkX4
2017-02-23 16:07:41 -08:00
Michael Layzell 4067f0d367 Bug 1336510 - Part 6: Avoid AddRefing/Releasing CamerasChild on the wrong thread, r=jwwang
MozReview-Commit-ID: 8b5KK7sL6wb
2017-02-23 12:24:12 -05:00
Michael Layzell 1d0870e2e1 Bug 1336510 - Part 4: Capture a strong reference to this in dom/media, r=jwwang
MozReview-Commit-ID: 4lVGrGzhVXh
2017-02-23 12:24:12 -05:00
Wes Kocher 8c4ce17711 Merge inbound to m-c a=merge
MozReview-Commit-ID: DCUf7VEDrTt
2017-02-17 13:38:51 -08:00
Vedant Sareen 7d4bd52fae Bug 1330907 - Rename Telemetry::ID to Telemetry::HistogramID. r=dexter
Changed |print("enum ID : uint32_t {", file=output)| to |print("enum HistogramID : uint32_t {", file=output)| at line 53 of the file |toolkit/components/telemetry/gen-histogram-enum.py|, and then replaced all the textual occurrences of |Telemetry::ID| to |Telemetry::HistogramID| and |ID| to |HistogramID| in 43 other files.
2017-02-16 00:45:15 +05:30
Jean-Yves Avenard 52e09e4b68 Bug 1340129: P1. Allow empty raw frames. r=gerald
MozReview-Commit-ID: AU0QrahHtYe

--HG--
extra : rebase_source : 34604298e01db1b7b481fc55c25cb5f23e806fa2
2017-02-16 23:41:44 +01:00
Tom Tromey 5f8f360823 Bug 1060419 - make log_print use Printf.h, r=froydnj
MozReview-Commit-ID: BIZ1GQEZ1vs

--HG--
extra : rebase_source : 2f1f0aa12493c44f352d9a7e8683e7bb72d2d75b
2016-12-15 20:16:31 -07:00
Jean-Yves Avenard 36471a6bc1 Bug 1336431: P4. Rename SharedTrackInfo. r=gerald
into TrackInfoSharedPtr to better indicate what this class is about.
Adding cast operator to allow transparent conversion from TrackInfoSharedPtr to const TrackInfo*

MozReview-Commit-ID: 6RwXl5CG0fG

--HG--
extra : rebase_source : b5a7a0f06793c609e2eab60aacc4f76d96d6ec32
2017-02-13 19:18:05 +01:00
JW Wang 0b5c3e7107 Bug 1338023. Part 6 - remove unused code and fix comments. r=gerald
MozReview-Commit-ID: 7WCFnraD313

--HG--
extra : rebase_source : 78cb30bc565a5051b7067589845bfd1b42fab220
extra : intermediate-source : 10b41917a6c62b60a0e428a0adf17684b39c8542
extra : source : 0388389e6fb45e077b9c64c7f2c36042e75b0d47
2017-02-09 13:39:56 +08:00
JW Wang a48f080485 Bug 1338023. Part 5 - let OggCodecState::DecodeHeader() take a OggPacketPtr instead of a raw pointer to clarify memory ownership. r=gerald
MozReview-Commit-ID: 925fgdsSIdo

--HG--
extra : rebase_source : e679445ed99c54327d1fa471135b2bc3aabb8ff4
extra : intermediate-source : e11c7ffff86afa33b3a7db11dc8091240df9d615
extra : source : b82531d5edf3593625c2e86c1a2ebe3e7e8282ff
2017-02-09 13:52:41 +08:00
JW Wang bb946739d4 Bug 1338023. Part 4 - let OggPacketQueue process OggPacketPtr instead of raw pointers to clarify memory ownership. r=gerald
MozReview-Commit-ID: Atw3Uf5rLRW

--HG--
extra : rebase_source : 1985361b5bd90d95492751dba08e822aeb7ad0d1
extra : intermediate-source : 2f82cc9d6ca6d86b5d5ab6cddda935e08dd9d457
extra : source : 6315ec4bbb709bc885a153ae15c2c382412161f7
2017-02-09 13:20:01 +08:00
JW Wang e4bc12e51a Bug 1338023. Part 3 - let mUnstamped store an array of UniquePtr<> to clarify memory ownership. r=gerald
MozReview-Commit-ID: CnqyL5FgFdT

--HG--
extra : rebase_source : d67394aced4a1afbc84b18ca4950066d6faa770a
extra : intermediate-source : 952a2509cebf4844bc11d926b167d66e09691e2c
extra : source : 57b4876bed78411dce3939d90e16d178d5b3bebe
2017-02-09 10:14:36 +08:00
JW Wang 76c81b2bde Bug 1338023. Part 2 - let Clone() return a UniquePtr<>. r=gerald
MozReview-Commit-ID: 4IfpyuqBLA5

--HG--
extra : rebase_source : d7ea0d3835d5c9f566e06c0d5eb9a4c810754e13
extra : intermediate-source : 8e6e69d21a965fca55989be1f99d500989c0aad5
extra : source : 687641203d684a0d8672990b7bf7dcb5344acf94
2017-02-07 18:05:27 +08:00
JW Wang ce84ae38fd Bug 1338023. Part 1 - add OggPacketDeletePolicy. r=gerald
MozReview-Commit-ID: KhuMed88j4V

--HG--
extra : rebase_source : e06d6bdb5efc87fb570282e6526c39825ea8821c
extra : intermediate-source : c1acded5a6e942c4b4daba3dac3074ab554f9dbf
extra : source : c90ca181c02d1f69c12b1e1f08d7501c28df3937
2017-02-07 17:56:41 +08:00
Jean-Yves Avenard 16bf821b42 Bug 1325707: P3. Fix coding style. r=gerald
Fixed coding style of files encountered in P1 and P2.

MozReview-Commit-ID: LApVu9K2oto

--HG--
extra : rebase_source : e3bb296baaec9df2011ff312fec2eda19dd125e6
2017-02-07 09:15:59 +01:00
Jean-Yves Avenard ec59353902 Bug 1325707: P2. Handle OOM conditions when creating MediaRawData object. r=gerald
MozReview-Commit-ID: HtkhrT36Kf4

--HG--
extra : rebase_source : febe0c4114d8d888b152db3f7b5331c0fb32f442
2017-02-07 09:03:36 +01:00
Jean-Yves Avenard 55981c9141 Bug 1325707: P1. Check returned value. r=gerald
This is really just for cleanliness perspective, as it can never happen, we always check that demuxing a packet succeeded first.

MozReview-Commit-ID: FQ1yz16m9Ix

--HG--
extra : rebase_source : 722ab3a828cadb07022a95b3ae456ef09781e61d
2017-02-07 08:55:28 +01:00
Jean-Yves Avenard b7844bd5c3 Bug 1319987: P9. More coding style fixes. r=gerald
MozReview-Commit-ID: DhFRqkWQZny

--HG--
extra : rebase_source : 03ed44efc83fe9cab7fc975229ac4e5746aff96b
2017-01-27 13:20:37 +01:00
Bevis Tseng f2bdbd8fd1 Bug 1314833 - Part 2.1: Factor out AbstractThread::MainThread() used in Media Playback. r=billm,jwwang
MozReview-Commit-ID: 9yJi3iDtVZG

--HG--
extra : rebase_source : 39c720ccc576ed9247b5e8abb70d99d7873b3ad6
2016-11-29 13:03:36 +08:00
Gerald Squelart 5745998021 Bug 1331770 - Rename 'MediaContentType' to 'MediaContainerType' - r=jya
MozReview-Commit-ID: F0BWai8vPyo

--HG--
rename : dom/media/MediaContentType.cpp => dom/media/MediaContainerType.cpp
rename : dom/media/MediaContentType.h => dom/media/MediaContainerType.h
extra : rebase_source : 640ada96750b4496055087e80ae3f600c9df31c9
2017-01-18 11:59:03 +11:00
Gerald Squelart f3436a269b Bug 1330284 - Use MediaContentType in OggDecoder - r=jya
MozReview-Commit-ID: 5sjoy8Gwm4K

--HG--
extra : rebase_source : 0ce9eda7933c1ed01646bff2f676a60647228406
2017-01-01 12:08:36 +11:00
Jean-Yves Avenard 8c894219f0 Bug 1322958: Check for null early. r=gerald
MozReview-Commit-ID: JE3gTw9FJVF

--HG--
extra : rebase_source : 87eadec7564067ffb610151e13a755ca2f5bc8a1
2016-12-12 17:28:05 +11:00
Jean-Yves Avenard a993bff5b3 Bug 1322070: P8. Remove unused methods and types. r=gerald
MozReview-Commit-ID: 8azYJd98T5o

--HG--
extra : rebase_source : c0b9837292469949d7675fc1dd85a43e1cf4ec1d
2016-12-08 08:38:04 -10:00
Jean-Yves Avenard 6c996c69b5 Bug 1322070: P7. Construct VideoInfo object from Theora CodecState. r=gerald
MozReview-Commit-ID: E4gR2Ff7qo

--HG--
extra : rebase_source : c91d8912608e70016affd5de6cbdda6bb9216b8b
2016-12-11 16:54:19 -10:00
Jean-Yves Avenard 01a35548b6 Bug 1322070: P6. Construct AudioInfo object from Vorbis CodecState. r=gerald
MozReview-Commit-ID: GitrIqFbSVd

--HG--
extra : rebase_source : 1b3c9c9968948f6b2bb06caa21c45cdbda681f67
2016-12-06 15:41:52 -10:00
Jean-Yves Avenard e7793efa50 Bug 1322070: P5. Construct AudioInfo object from Opus CodecState. r=gerald
MozReview-Commit-ID: 3lCqIOuIhV2

--HG--
extra : rebase_source : 02753bc5f9dc9713b067d2a1c8b33389a574aa11
2016-12-05 20:34:38 +11:00
Jean-Yves Avenard 8c03f7a631 Bug 1322070: P4. Correctly fill FLAC metadata if present. r=gerald
Metadata were incorrectly overwritten.

MozReview-Commit-ID: 2GHpQ6vUcEE

--HG--
extra : rebase_source : 8c85efa24573715139333a243400d9ba833ded7a
2016-12-05 19:20:58 +11:00
Jean-Yves Avenard 6da48addfe Bug 1322070: P3. Remove unused field. r=gerald
It was used by the now defunct OggReader

MozReview-Commit-ID: j73s6uDjlG

--HG--
extra : rebase_source : 7efc47bc4b14b54b96fe5cc195b8b4c3f51f0a58
2016-12-05 19:05:17 +11:00
Jean-Yves Avenard 36c61f8abc Bug 1322070: P2. Add virtual methods to retrieve TrackInfo. r=gerald
MozReview-Commit-ID: AepxIr1qkei

--HG--
extra : rebase_source : 95d1ea67166e03dcef551dc9921effb722c56919
2016-12-05 18:06:11 +11:00
Jean-Yves Avenard 9c8af590a6 Bug 1320705: P7. Ensure audio decoder is recreated when chaining encountered. r=gerald
The Opus decoder will error if we feed it new data if it has seen the last packet of a stream.

MozReview-Commit-ID: Kw3cZuEKxie

--HG--
extra : rebase_source : 8758ec63304677fe8ab2eeae7fc65f46de2db701
2016-12-02 12:28:28 +11:00
Jean-Yves Avenard e73c9ba70f Bug 1320705: P6. Fix codec mimetypes. r=gerald
MozReview-Commit-ID: FozWtbvDNnA

--HG--
extra : rebase_source : b256424224a10af4957fe4b8ed73347e3608f198
2016-12-02 12:23:23 +11:00
Jean-Yves Avenard 48ed291b22 Bug 1320705: P5. Pass discard padding information from ogg container. r=kinetik
MozReview-Commit-ID: 8UKSVM0F0xF

--HG--
extra : rebase_source : e96927ebfd9d8c15322b8dbecc98c6e9ce946ae4
2016-11-30 17:44:49 +11:00
Jean-Yves Avenard 4aca82e728 Bug 1320705: P1. Fix function prototyping. r=gerald
Returning already_AddRefed is by convention preferred.

MozReview-Commit-ID: 1UyIcyBm923

--HG--
extra : rebase_source : c2896b6e7935d53eec77188d16657fbe1e925ca4
2016-11-30 17:18:58 +11:00
Gerald Squelart 038cba7f2e Bug 1313497 - Pass TimeUnit by const& in MediaDataDemuxer - r=jya
Thanks to the previous patch, MediaDataDemuxer::Seek and
SkipToNextRandomAccessPoint (and all overrides in derived demuxers) can now
take their TimeUnit parameter by const&.

MozReview-Commit-ID: 6CqfjAXZ7Yk

--HG--
extra : rebase_source : c3453e4432d9e0281cf5eba55217b0c1d6312f5b
2016-11-13 15:13:51 +11:00
Jean-Yves Avenard 87a107c468 Bug 1313632: P2. Cleaner Ogg related headers. r=kaku
MozReview-Commit-ID: DpnezpZw27H

--HG--
extra : rebase_source : 3700dbccbc98ae2aadd29fcf3fbef3e38fdec13c
2016-11-09 12:19:06 +11:00
Jean-Yves Avenard d3a0f99985 Bug 1313632: P1. Remove unused OggReader. r=kaku
Also remove related preference.

MozReview-Commit-ID: D5pkyPXAoG9

--HG--
extra : rebase_source : 845d14a7059ae54d939300bb0f7f51664da05ff4
2016-11-09 11:54:41 +11:00
Jean-Yves Avenard 20dc9102e8 Bug 1299072: P12. Use MediaResult for MediaDataDemuxer promises. r=gerald
MozReview-Commit-ID: JeQrmoHbb8m

--HG--
extra : rebase_source : 1f4581e5789f18b358a6f5bb5f8595cc7a75110b
2016-09-12 12:22:20 +10:00
Paul Adenot ee6b91ee10 Bug 1301518 - Support mapping family 255 when playing an Opus file, for use with the Web Audio API. r=jya
MozReview-Commit-ID: AaTCp16m6ks
2016-09-09 17:10:09 +02:00
Nicholas Nethercote b71747b2ac Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm.
The new name makes the sense of the condition much clearer. E.g. compare:

  NS_WARN_IF_FALSE(!rv.Failed());

with:

  NS_WARNING_ASSERTION(!rv.Failed());

The new name also makes it clearer that it only has effect in debug builds,
because that's standard for assertions.

--HG--
extra : rebase_source : 886e57a9e433e0cb6ed635cc075b34b7ebf81853
2016-09-01 15:01:16 +10:00
Randell Jesup b21f1c6ba5 Bug 1294753: encode all available audio on each cycle instead of one 'packet' r=rillian
Also fixes some accesses to mEndOfStream outside the monitor
2016-08-18 00:31:11 -04:00
Jean-Yves Avenard 47733b46b7 Bug 1195723: [ogg/flac] P3. Add flac support in ogg. r=kamidphish
This feature is intended to debug the flac parser only and is behind a hidden pref.
There's lots of redundant code in OggCodecState, there's need for a serious cleanup there.

MozReview-Commit-ID: 9H4efd2cfuE

--HG--
extra : rebase_source : d6af6a028f50dea7c562cf62fac71ae23b1d5e01
2016-08-04 17:21:53 +10:00
Jean-Yves Avenard 5dd2775ab5 Bug 1195723: [ogg] P2. Refactor mimetype parsing for ogg. r=kamidphish
Make it just like MP4, WebM and all the others new demuxers.
Additionally, make the ogg related preferences part of MediaPrefs.

MozReview-Commit-ID: DTedHyIMv9I

--HG--
extra : rebase_source : 5ab806335b4ad17b04a20e37caf87eeb37f68bed
2016-08-04 17:14:28 +10:00
James Cheng 0593e89ea0 Bug 1293194 - Building with --disable-eme fails with GMPDecoderModule.cpp:15:30: fatal error: mozilla/EMEUtils.h: No such file or directory. r=cpearce
MozReview-Commit-ID: VUGdiaLqkV

--HG--
extra : rebase_source : 3439ba2f7a81ad80f9db514f21c6091cc3e5711a
2016-08-09 12:13:30 +08:00
Matt Woodrow f323872778 Bug 1292032 - Clean up VideoData static constructor methods. r=jya
--HG--
extra : rebase_source : e025c9a15ad00e970f9027f72c78b5d6effbc301
2016-08-04 15:31:52 +12:00
ctai b7fcb47572 Bug 1201363 - Replace VideoFrameContainer with MediaStreamVideoSink in MSG. r=jesup
Replace the pointer of VideoFrameContainer with the pointer of MediaStreamVideoSink.

MozReview-Commit-ID: 5bqEMpemwuR

--HG--
extra : transplant_source : %008z%D8W%EE%87%8E%E9/%2CT%26%EBvo%AE%099%A6
2016-05-27 14:33:48 +08:00
Sebastian Hengst 120f502e2a Backed out changeset 3851902daa94 (bug 1201363) 2016-08-03 19:33:25 +02:00
ctai e28782c9ba Bug 1201363 - Replace VideoFrameContainer with MediaStreamVideoSink in MSG. r=jesup
Replace the pointer of VideoFrameContainer with the pointer of MediaStreamVideoSink.

MozReview-Commit-ID: 5bqEMpemwuR

--HG--
extra : amend_source : 7eb1e87fdcbc61f2f9831fa3a6d803cc50306604
2016-05-27 14:33:48 +08:00
Carsten "Tomcat" Book 7e324b6cdb Backed out changeset b018ce9d1484 (bug 1201363) 2016-08-02 12:53:59 +02:00
ctai 0948ae3f3a Bug 1201363 - Replace VideoFrameContainer with MediaStreamVideoSink in MSG. r=jesup
Replace the pointer of VideoFrameContainer with the pointer of MediaStreamVideoSink.

MozReview-Commit-ID: 5bqEMpemwuR

--HG--
extra : transplant_source : %9D%86%93%A6%DF%D5%9Ep%20%DF%FD%C1%E2%BA%A3Gq%1A%7E%A3
2016-05-27 14:33:48 +08:00
Jean-Yves Avenard 8a0dfdfdb4 Bug 1288329: [ogg] P5. Fix coding style. r=gerald,jwwang
MozReview-Commit-ID: 1bAE92BECRD

--HG--
extra : rebase_source : bc53d84623f2d76c2eed796af1ca273c30efb369
2016-07-29 10:47:03 +10:00