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

209 Коммитов

Автор SHA1 Сообщение Дата
Sotaro Ikeda 3b81e9dd7d Bug 1262278 - Rename PlanarYCbCrImage::SetData and PlanarYCbCrImage::SetDataNoCopy r=nical 2016-04-18 20:12:41 -07:00
Chris Pearce 753e89fc45 Bug 1245789 - Expose AsyncAddPluginDirectory on GMPServiceParent. r=gerald
Now that adding GMPs to the GMP service is async under the hood, for safety
the GeckoMediaPluginServiceParent needs to expose when adding a GMP
has finished so that things that depend on GMPs being present can be reliable.
For example, the call to GMPDecoderModule::UpdateUsableCodecs() that happens
at the end of AddPluginDirectory depends on the GMPs being up to date, so it
needs to happen after the add has finished.

MozReview-Commit-ID: Fn8b0GNILNg
2016-04-12 16:12:22 +12:00
Chris Pearce 1286c752d4 Bug 1245789 - Ensure GMP service has added all plugins before running GMP remove tests. r=gerald
MozReview-Commit-ID: 488sYVQbS4x
2016-04-12 16:12:22 +12:00
Andreas Pehrson be74876e25 Bug 1208371 - Add PrincipalHandle to MediaChunks. r=mt,jesup
PrincipalHandle is a thread safe pointer to a holder of (the main-thread-only
nsIPrincipal) that can be passed around the MSG.

A MediaStreamTrack whose source has just updated its principal, sets the new
principal aside (as its "pending principal"), and combines the new principal
into its current principal.

Then the source starts passing the new principal to the MediaStreamGraph as
a PrincipalHandle.

Changes to a track's PrincipalHandle on the MSG will be surfaced through the
MediaStreamTrackListener API. These changes are dispatched to main thread
and compared to a MediaStreamTrack's pending principal. In case of a match
the track knows the correct principal is flowing and can move the pending
principal to be the current principal and update any main thread principal
observers.

MozReview-Commit-ID: D0JXGWhQFFU

--HG--
extra : rebase_source : 296e269bb46fc5a85a9c3f90dfc0dc40e53572bc
2016-04-06 14:56:44 +02:00
bechen 44cf8370f2 Bug 1215115 - part3: Fix gtest. Remove TestVorbisTrackEncoder.cpp. r=rillian
MozReview-Commit-ID: AMwhwD9exsg

--HG--
extra : transplant_source : %BD%0D%D3%8A%C6%94m%ECX/Jm%C5%E2%A1%15%D1%ECfx
2016-04-01 11:04:08 +08:00
Jan Henning 9e046f3ff6 Bug 1256590 - Part 2 - Add a test case for skipping over false positive syncs at the beginning of an MP3 file. r=esawin 2016-03-20 22:08:45 +01:00
JW Wang 4436a4705f Bug 1250829 - add customized assertions for completion promises to facilitate promise chaining. r=bobbyholley.
MozReview-Commit-ID: 5IbbAz0KIBY
2016-03-18 11:27:19 +08:00
Jean-Yves Avenard 0b39ee0085 Bug 1255626: [gtest] Properly shutdown task queue should error occurs. r=gerald
MozReview-Commit-ID: A7Gq4vlmWg1
2016-03-11 11:19:45 +11:00
Jean-Yves Avenard 13e0855c84 Bug 1254858: P6. Add VP9 decoding gtest. r=kentuckyfriedtakahe
MozReview-Commit-ID: 1Xo9B1TGyuc

--HG--
extra : rebase_source : d0d46f730984e2a9cf3e190f3b6e5185b301ed56
2016-03-10 11:53:39 +11:00
Jean-Yves Avenard 0a4ddd9b8d Bug 1254858: P5. Add h264 decoding gtest. r=kentuckyfriedtakahe
MozReview-Commit-ID: 7uD0X9kRjsf

--HG--
extra : rebase_source : b59d13b35a6aa28141e1523f2a34b537a076cda2
2016-03-09 21:31:52 +11:00
Jean-Yves Avenard 93c883b464 Bug 1254858: P4. Allow to pass mimetype in constructor. r=kentuckyfriedtakahe
MozReview-Commit-ID: 1viNCf5quO5

--HG--
extra : rebase_source : 4aa902d26d10dddffb2343cb6cdb8f518a957ebf
2016-03-09 21:21:57 +11:00
Jean-Yves Avenard 722e4fee21 Bug 1246521: P1. Add MediaDecoderOwner::HasError method. r=gerald 2016-02-08 16:31:42 +11:00
Birunthan Mohanathas d7371d07d0 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Jean-Yves Avenard 13208cc3e7 Bug 1244523: [mp4] P4. Add gtest. r=kentuckyfriedtakahe 2016-02-02 16:27:49 +11:00
Phil Ringnalda d381b4bca6 Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
CLOSED TREE

Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas 373593275e Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Alastor Wu abde274a94 Bug 1238906 - part2 : notify audible state from MDSM to ME. r=jwwang
--HG--
extra : rebase_source : 74629c314b3d828a5d9b514bf6cca87f7c1f57de
2016-01-21 10:27:38 +08:00
Jean-Yves Avenard bc55ba93a4 Bug 1240411: P9. Clean up media headers. r=jwwang
Remove redundant virtual keyword and add missing override if any.
2016-01-19 19:47:36 +11:00
Sebastian Hengst 9249e58bdf Backed out 2 changesets (bug 1238906) for bustage in M(2) on OSX and Windows. r=bustage
Backed out changeset e729b30ba7b4 (bug 1238906)
Backed out changeset 1857bca40ac4 (bug 1238906)
2016-01-18 13:11:43 +01:00
Alastor Wu bbcb84cc7b Bug 1238906 - part2 : notify audible state from MDSM to ME. r=jwwang
--HG--
extra : transplant_source : %A6I%CA%AC%95%AD%0C%7D%40K%8C_%8B%3D%15%BC%F7%FB%86%27
2016-01-18 10:50:47 +08:00
Matthew Gregan 693045c49f Bug 1231855 - Avoid inserting out of (timecode) order entries in WebMBufferedParser. r=jya 2016-01-05 14:50:50 +13:00
Chris Pearce f212540c95 Bug 1232527 - Remove GMPVideoDecoderTrialCreator and friends. r=jwwang
Remove GMPVideoDecoderTrialCreator, and the tests and IPC/IDL supporting it.

--HG--
extra : commitid : HlbJPl2gPAl
extra : rebase_source : fe1773014e5d09da264f85d464e408aca46a60c4
2015-12-15 15:17:22 +13:00
Gerald Squelart 11f4bfc291 Bug 1224361 - Added vp8/ivf test case - r=rillian 2015-12-03 14:14:46 +11:00
Gerald Squelart 47c3a5245c Bug 1224369 - p2: Added vp8/ivf test case - r=rillian 2015-12-03 14:14:46 +11:00
Gerald Squelart 5000716d11 Bug 1224369 - p1: Test cases given as list - r=rillian
No actual test changes from before. This will help with this bug and future
ones, to easily add more test cases.
2015-12-03 14:14:46 +11:00
Gerald Squelart 090cd0d548 Bug 1224363 - Added vp8/ivf test case - r=rillian 2015-12-03 14:14:45 +11:00
Jean-Yves Avenard c8c275cee2 Bug 1227396: P7. Replace nsTArray<MediaByteRange> with dedicated MediaByteRangeSet object. r=cpearce 2015-11-30 11:29:34 +11:00
Chris Pearce 537e205dfc Bug 1228215 - Store each GMP's storage and nodeId salt in separate directories. r=jwwang 2015-11-27 10:53:32 +13:00
Chris Pearce 6818d3ec67 Bug 1228215 - Add a 'gmpName' parameter to GMPService::GetNodeId(), so each GMP can see a different nodeId for the same origin. r=jwwang 2015-11-27 10:53:31 +13:00
Eugen Sawin 334574ba77 Bug 1219178 - [7.1] Add out-of-bounds seeking test. r=jya 2015-11-24 15:02:34 +01:00
Eugen Sawin 1d6552cfbe Bug 1219178 - [6.1] Add small test file case. r=jya 2015-11-24 15:02:34 +01:00
Eugen Sawin 3cb42afa72 Bug 1219178 - [5.1] Return invalid resource length when mock resource is uninitialized instead of crashing. r=jya 2015-11-24 15:02:34 +01:00
Andrea Marchesini f44bf80ff9 Bug 1213154 - tab-sound-icon should be supported by bfcache, r=roc 2015-11-23 11:35:14 +00:00
Jean-Yves Avenard 30276a5c95 Bug 1222866: P2. Add gtest checking on seconds -> microseconds -> seconds. r=gerald 2015-11-20 22:59:51 +11:00
Carsten "Tomcat" Book ee4679d014 Backed out changeset 74caf0456e1e (bug 1222866) 2015-11-20 08:24:11 +01:00
Jean-Yves Avenard 68cfd7635f Bug 1222866: P2. Add gtest checking on seconds -> microseconds -> seconds. r=gerald 2015-11-20 15:41:13 +11:00
Jeff Muizelaar bcf6317ef4 Bug 1217080. Move recycling functionality into RecyclingPlanarYCbCrImage. r=nical
This makes PlanarYCbCrImage abstract and moves the recycling functionality
into RecyclingPlanarYCbCrImage. This decreases the size of
SharedPlanarYCbCrImage and makes it possible for us to do part 3 of bug
1216644.
2015-11-06 13:55:31 -05:00
Wes Kocher a6029c8941 Backed out changeset 722e121f6ce6 (bug 1217080) for b2g build failures
--HG--
extra : commitid : HdV0UNFbTFn
2015-11-04 15:39:35 -08:00
Jeff Muizelaar 83d63902a7 Bug 1217080. Move recycling functionality into RecyclingPlanarYCbCrImage. r=nical
This makes PlanarYCbCrImage abstract and moves the recycling functionality
into RecyclingPlanarYCbCrImage. This decreases the size of
SharedPlanarYCbCrImage and makes it possible for us to do part 3 of bug
1216644.
2015-11-04 17:40:02 -05:00
Birunthan Mohanathas 9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
JW Wang ef41bf18de Bug 1219984. Part 2 - add support for multiple arguments. r=kinetik. 2015-11-02 10:48:01 +08:00
JW Wang a7589ce310 Bug 1218280. Part 1 - create MediaResourceCallback for MediaResource to send notifications. r=roc. 2015-10-27 10:28:26 +08:00
Eugen Sawin 72014fde27 Bug 1163667 - [3.3] Parse complete Xing/Info header info. r=jya 2015-10-26 18:30:52 +01:00
James Cheng a62a1ecc50 Bug 1194606 - Add gtest for demuxed-only scenario in MediaFormatReader. r=jya 2015-10-20 10:47:00 -04:00
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Chris Pearce 83fed249a0 Bug 1214932 - Remove fragmented-mp4 from media prefs. r=jya 2015-10-15 14:51:28 +13:00
Andreas Pehrson 5179d4123b Bug 1182426 - Set PlanarYCbCrImage's size in VP8TrackEncoder GTest. r=roc
--HG--
extra : commitid : 9dFV0mv1iSr
extra : rebase_source : 699e4a73382e8792a1517d2f8520e3f4d3f9e6c7
2015-10-02 13:59:18 +08:00
Jean-Yves Avenard 6807956b60 Bug 1207312: P2. Amend gtest. r=bholley 2015-10-01 19:07:37 +10:00
Jan Henning 503a8bee81 Bug 1203217 - Extend MP3 demuxer gtest to include a test file for large ID3v2 tags. r=kinetik
This adds an MP3 file with an ID3v2 header which used to trip up the MPEG frame parser before bug 1197985 was fixed.
2015-09-13 16:12:20 +02:00
Nicholas Nethercote f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Anthony Jones ec7e4f8dd0 Bug 1180101 - Test 0 length atom inside moov; r=jya 2015-08-26 18:13:01 +12:00
JW Wang 4265c0e543 Bug 1194112. Part 6 - add a test case to test the exclusive mode. r=kinetik. 2015-08-24 10:38:42 +08:00
Sebastian Hengst 7d2dad58e7 Backed out changesets d0eee19c83cd, 0c54ee53678f, 5b202008a431, 81291b4e6dc3, acbc0d7e21cd, a7ceb6162a63 (bug 1194112) for Linux x64 Hazard failure. r=backout
Backed out changeset d0eee19c83cd (bug 1194112)
Backed out changeset 0c54ee53678f (bug 1194112)
Backed out changeset 5b202008a431 (bug 1194112)
Backed out changeset 81291b4e6dc3 (bug 1194112)
Backed out changeset acbc0d7e21cd (bug 1194112)
Backed out changeset a7ceb6162a63 (bug 1194112)
2015-08-18 11:11:38 +02:00
JW Wang 043e43feb6 Bug 1194112. Part 6 - add a test case to test the exclusive mode. r=kinetik. 2015-08-18 11:12:18 +08:00
Bobby Holley 5372d6d716 Bug 1188976 - Fix up include. r=me
Not sure how this didn't get fixed before.
2015-08-17 14:54:41 -07:00
Jean-Yves Avenard b55f0cf63a Bug 1190238: P1. Remove MediaResource::Read/Seek. r=cpearce
This functionality is now replaced with a dedicated new MediaResourceIndex class.
This allows for concurrent Read/Seek use of the MediaResource without having side effects.
2015-08-13 15:27:09 +10:00
Bobby Holley 29e4811fef Bug 1190495 - Fix include. r=me
Not sure how this slipped by before.
2015-08-11 08:55:16 -04:00
Sebastian Hengst c2581fad83 Backed out 8 changesets (bug 1183910, bug 1190281)
Backed out changeset 6ddbdbd66174 (bug 1190281)
Backed out changeset c85c1d11bd72 (bug 1190281)
Backed out changeset 7f904a453bdb (bug 1190281)
Backed out changeset e17123b5bafd (bug 1190281)
Backed out changeset 50edbeb8912e (bug 1190281)
Backed out changeset cf98685302b6 (bug 1190281)
Backed out changeset e98a176b4e0b (bug 1190281)
Backed out changeset e7b3b23bcc82 (bug 1183910)

--HG--
rename : gfx/src/DriverCrashGuard.cpp => gfx/src/DriverInitCrashDetection.cpp
rename : gfx/src/DriverCrashGuard.h => gfx/src/DriverInitCrashDetection.h
2015-08-11 10:13:43 +02:00
Chris Pearce 8ded1472c3 Bug 1190252 - Remove use of mozilla\/Tokenizer from GMPChild so bug 1190252 can be uplift to 41. r=gerald 2015-08-11 10:27:41 +12:00
Chris Pearce c32f098f77 Bug 1190252. Backed out changeset d697030f7d59. r=backout 2015-08-10 13:38:03 +12:00
Chris Pearce 751d662f3d Bug 1190252 - Remove use of mozilla\/Tokenizer from GMPChild so bug 1190252 can be uplift to 41. r=gerald 2015-08-10 13:27:04 +12:00
Jean-Yves Avenard 8c8e3b2a70 Bug 1190258: P1. Use getter to access MediaRawData mData and mSize member. r=cpearce 2015-08-06 18:48:44 +10:00
JW Wang 9bafca0886 Bug 1187214. Part 2 - add test cases for MediaEventSource. r=kinetik. 2015-08-05 10:24:13 +08:00
Eugen Sawin b9e633ac47 Bug 1190558 - Add MP3 track demuxer seek tests. r=kinetik 2015-08-04 23:01:36 +02:00
Bobby Holley c4645a718b Bug 1190496 - Namespace the SharedThreadPool.h include. r=cpearce 2015-08-04 14:00:25 -07:00
Alfredo Yang c70bac0966 Bug 1163486 - Update test to use new MP4Demuxer. r=bholley 2015-07-21 02:49:00 +02:00
Alfredo Yang 8393a2233e Bug 1163486 - Remove MP4Reader. r=jya 2015-07-21 02:48:00 +02:00
Carsten "Tomcat" Book de3872af29 Backed out changeset 1704ea727e81 (bug 1163486) for at least b2g bustage 2015-07-21 08:42:54 +02:00
Carsten "Tomcat" Book 79fe86d82b Backed out changeset 79619b679f82 (bug 1163486) 2015-07-21 08:40:29 +02:00
Alfredo Yang 95250b2dbf Bug 1163486 - Update test to use new MP4Demuxer. r=bholley 2015-07-20 19:26:00 +02:00
Alfredo Yang 23c919b20e Bug 1163486 - Remove MP4Reader. r=jya 2015-07-20 19:25:00 +02:00
Bobby Holley 04eaf4c167 Bug 1184634 - Move various includes into the mozilla namespace. r=gerald
I did my a quick best-effort pass to fix up the most egregious ordering
problems. I left some big pre-existing messes alone.
2015-07-16 22:23:18 -07:00
Bobby Holley 997543e6ba Bug 1184634 - Rename MediaTaskQueue to TaskQueue. r=gerald 2015-07-16 22:23:06 -07:00
Bobby Holley 78001ffc43 Bug 1184634 - Rename "TaskQueue()" accessor to "OwnerThread()". r=gerald
Otherwise this name will collide with the rename of MediaTaskQueue to TaskQueue.
It's also a better naming convention, because it generalizes to things that are
owned by an AbstractThread that is not a Task Queue.

We rename to Queue() in TestMozPromise, because that's more accurate.
2015-07-16 22:22:07 -07:00
Bobby Holley 407d2c5f90 Bug 1184634 - Rename MediaPromise to MozPromise. r=gerald 2015-07-16 22:21:56 -07:00
Birunthan Mohanathas a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Eugen Sawin fc34813549 Bug 1182100 - Add MP3 demuxer tests for stream resources with unknown lengths. r=kinetik
--HG--
extra : rebase_source : f87cf6b2695b6ac73d22bd3cb1dba0ce12fdd626
2015-07-09 22:42:23 +02:00
Michael Layzell 2d6d3c44ec Bug 1181318 - Eliminate duplicate mRefCnt members in nsRunnable subclasses. r=ehsan 2015-07-07 14:03:00 +02:00
Bobby Holley ce966d4a0a Bug 1177282 - Create and destroy static SharedThreadPool state at startup/shutdown. r=cpearce 2015-06-30 02:13:04 -07:00
Bobby Holley a80e87862b Bug 1175768 - Use mirroring for buffered ranges. r=jya 2015-06-27 01:19:13 -07:00
Ryan VanderMeulen d9ca5de3ed Backed out 8 changesets (bug 1175768) for frequent media test failures.
Backed out changeset a369cfb95b59 (bug 1175768)
Backed out changeset e02dd312d622 (bug 1175768)
Backed out changeset 6776ce74b9e5 (bug 1175768)
Backed out changeset 6aa5fa1d318e (bug 1175768)
Backed out changeset a8bd7a0d2aea (bug 1175768)
Backed out changeset 41ffc9a9ac48 (bug 1175768)
Backed out changeset 2d2cefa397dc (bug 1175768)
Backed out changeset 4e06368496d2 (bug 1175768)

CLOSED TREE
2015-06-23 16:20:15 -04:00
Bobby Holley 5c20ea36aa Bug 1175768 - Use mirroring for buffered ranges. r=jya 2015-06-22 22:53:09 -07:00
Chris Manchester ad96e4d2f4 Bug 1168612 - Temporarily disable TestMP4Reader.cpp so we can re-enable the rest of make check. r=jlund
--HG--
extra : commitid : 2dqVsdRpxoy
2015-06-18 11:12:12 -07:00
Jean-Yves Avenard e70b22a0e9 Bug 1171330: P2. Add -= and - operator to IntervalSet. r=mattwoodrow
Remove an interval from an interval set.

--HG--
extra : rebase_source : f3d54343f49a3d982512fe9e0e9b445afe7b11b2
2015-06-11 15:49:49 +10:00
Bobby Holley c2bf6e7564 Bug 1173001 - Fix up some task queue naming to make MediaDecoderReader consistent with MDSM. r=jww 2015-06-10 14:17:26 -07:00
Bobby Holley adc66a3dab Bug 1173001 - Initialize reader task queue in the constructor. r=jww
This is a necessary step towards having mirrored/canonical values, since those
need to know the task queue in their constructor.
2015-06-10 14:17:25 -07:00
Eugen Sawin e03391c07e Bug 1166779 - Rebase MP3 demuxer on MediaDataDemuxer interface. r=kinetik
--HG--
rename : media/libstagefright/binding/MP3TrackDemuxer.cpp => dom/media/MP3Demuxer.cpp
rename : media/libstagefright/binding/include/mp4_demuxer/MP3TrackDemuxer.h => dom/media/MP3Demuxer.h
extra : rebase_source : 1cbc9b841cdba57e9d72c00f6c6ec95eebb3b371
2015-06-05 14:34:19 +02:00
Chris Pearce b65cba6328 Bug 1169129 - Test GMPVideoDecoderTrialCreator detects failure. r=edwin
--HG--
rename : dom/media/gmp-plugin/gmp-fake.cpp => dom/media/gmp-plugin-openh264/gmp-fake-openh264.cpp
2015-06-05 21:55:52 +12:00
Chris Pearce c02d6f7096 Bug 1169129 - Change GMP*Parent::ParentId() to a more consistent GMP*Parent::GetPluginId(). r=edwin 2015-06-05 21:55:51 +12:00
Bobby Holley ea959672b1 Bug 1169542 - Implement MediaPromise::All. r=jww 2015-06-01 09:18:44 -07:00
Bobby Holley dc94f1aebe Bug 1168008 - MediaPromise gtests. r=jww 2015-05-28 16:03:11 -07:00
Jean-Yves Avenard 8adb944d2f Bug 1166282: Have TimeIntervals and IntervalSet nsTArray_CopyChooser specialization. r=nfroyd 2015-05-25 15:09:16 +10:00
Jean-Yves Avenard 54a681396b Bug 1163445: Part5. Replace dom::TimeRanges with TimeIntervals object. r=mattwoodrow 2015-05-18 16:15:47 +10:00
Jean-Yves Avenard 640e48194f Bug 1163445: Part3. Add IntervalSet::Contains(Interval) method. r=mattwoodrow 2015-05-18 16:13:20 +10:00
Jean-Yves Avenard 664088737e Bug 1163445: Part2. Add TimeUnit infinity concept. r=mattwoodrow
We use the value INT64_MAX as meaning infinity. This allows to avoid taking
more storage space than necessary but may result in unpredictable behaviour
when performing calculations.
2015-05-18 16:13:20 +10:00
Jean-Yves Avenard 98e9b02398 Bug 1163445: Part1. Keep IntervalSet normalized. r=mattwoodrow
This is the easiest to ensure consistency when making calculations on them.
2015-05-18 16:13:20 +10:00
Eugen Sawin 35ee204bcf Bug 1093815 - Add tests for MP3 track demuxer. r=kinetik
---
 dom/media/gtest/TestMP3Demuxer.cpp | 217 +++++++++++++++++++++++++++++++++++++
 dom/media/gtest/moz.build          |   3 +
 dom/media/gtest/noise.mp3          | Bin 0 -> 965257 bytes
 dom/media/gtest/noise_vbr.mp3      | Bin 0 -> 583679 bytes
 4 files changed, 220 insertions(+)
 create mode 100644 dom/media/gtest/TestMP3Demuxer.cpp
 create mode 100644 dom/media/gtest/noise.mp3
 create mode 100644 dom/media/gtest/noise_vbr.mp3
2015-05-13 15:15:39 +02:00
Ralph Giles c832f2d6d6 Bug 1161339 - Add gtest calling rust code. r=cajbir
This is mostly to verify compilation and linkage.
The test itself just verifies the contents of an
returned string.

--HG--
extra : rebase_source : b35f41d565c6fda85ad010a328cd61b3c37681da
2015-05-07 12:15:00 -07:00
Jean-Yves Avenard 40e5cc7845 Bug 1159579: Add Interval and IntervalSet objects. r=mattwoodrow
Along with a TimeIntervals class that reimplement all of dom::TimeRanges
features.
2015-05-07 10:24:10 +10:00
Chris Pearce 5bf2541a0e Bug 1159300 - Change GMP RemoveAndDeleteDeferredInUse test to ask for an EME plugin. r=edwin 2015-04-30 21:13:48 +12:00