Commit Graph

5565 Commits

Author SHA1 Message Date
Aidin Gharibnavaz
69cf7e035f Bug 1164581 - Adding an overload for NS_ProxyRelease that accepts already_AddRefed, and removing all the others. r=bobbyholley
--HG--
extra : rebase_source : 3c6bba6613a14e48239d302bdd0f7fe2e322265d
2016-02-07 10:56:00 +01:00
Jean-Yves Avenard
8fa85e0c6e Bug 1246358: [MSE] Take pre-roll time into consideration when seeking. r=gerald 2016-02-08 17:36:17 +11:00
Jean-Yves Avenard
a1d2f88108 Bug 1246521: [MSE] P3. Only error during Prepare Append algorithm if the media element is in error. r=gerald 2016-02-08 16:38:45 +11:00
Jean-Yves Avenard
53c49526d6 Bug 1246521: P2. Add MediaDecoder::OwnerHasError method. r=gerald 2016-02-08 16:38:26 +11:00
Jean-Yves Avenard
722e4fee21 Bug 1246521: P1. Add MediaDecoderOwner::HasError method. r=gerald 2016-02-08 16:31:42 +11:00
Phil Ringnalda
a0117e0b74 Back out c3ac85cea6a3 (bug 1246358) for failures in test_invalid_reject_play.html
CLOSED TREE
2016-02-07 19:29:07 -08:00
Jean-Yves Avenard
435868949a Bug 1246358: [opus] Don't error if we fail to decode the last frame. r=TD-Linux 2016-02-08 12:22:07 +11:00
Phil Ringnalda
4600f4bd1f Bug 1228605 - Disable test_mediarecorder_avoid_recursion.html on Windows opt for frequent timeouts 2016-02-06 11:33:38 -08:00
Nils Ohlmeier [:drno]
fa121cafb8 Bug 1246011: fixed PT comparising for PT's without rtpmap. r=jesup
--HG--
rename : dom/media/tests/mochitest/test_peerConnection_basicAudioPcmaPcmuOnly.html => dom/media/tests/mochitest/test_peerConnection_basicAudioDynamicPtMissingRtpmap.html
extra : commitid : TUmPCn4bqt
2016-02-05 11:58:05 -08:00
Jean-Yves Avenard
944fc9f31d Bug 1244639: P2. Don't clamp audio time to seek time if there's no video track. r=cpearce
This remove the need for working around the MP3 decoder returning decoded frames in the future.
2016-02-05 14:53:58 +11:00
Jean-Yves Avenard
6194838634 Bug 1244639: P1. Don't assume MP3 decoding always starts at 0. r=cpearce
This remove the MP3 workaround for the mac decoder that was added in bug 1194080.
2016-02-05 14:53:58 +11:00
JW Wang
4a525dc7dd Bug 1245542 - I suspect AudioData::mAudioData/mFrames are poisoned when sample format doesn't match the metadata. Let's ignore these samples to see if crash volume can be reduced. r=kinetik. 2016-02-05 10:19:12 +08:00
Paul Adenot
6190ea3fb0 Bug 1241499 - Initialize the HRTF database lazily. r=karlt
--HG--
extra : commitid : CR6URDULVd6
2016-01-21 16:15:57 +01:00
Chris Pearce
ab9dc9ea26 Bug 1243878 - Null check CDMProxy::mKeys in CDMProxy::OnExpirationChange() before use. r=jwwang
All the methods in CDMProxy except CDMProxy::OnExpirationChange() that use
mKeys null check mKeys before using it because it can go away during shutdown
before the IPC message to call the methods have had a chance to run.

We should do the null check in CDMProxy::OnExpirationChange() too.
2016-01-29 10:23:45 +13:00
Jean-Yves Avenard
f501a23d19 Bug 1181981: [MSE] Force TrackId for MSE tracks. r=gerald
YouTube sets the track ID at 1 for both audio and video tracks. Attempting to use mozCaptureStream would cause an assert as it always expect tracks to have a different track Id.
2016-02-04 11:07:19 +11:00
Gerald Squelart
af8cc983cf Bug 1143096 - Init all WebMBufferedParser members - r=kinetik
Initialize all WebMBufferedParser members, mainly to remove compiler warnings.
'mClusterTimecode' and 'mClusterOffset' are probably genuine potential issues,
see bug 1143096 comment 2 for details.
2016-02-03 14:25:47 +11:00
Birunthan Mohanathas
e00f212825 Bug 1235261 - Part 6: Rename AutoInfallibleTArray to AutoTArray. r=froydnj 2016-02-02 17:36:31 +02:00
Birunthan Mohanathas
d7371d07d0 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Andreas Tolfsen
27104021fd Bug 1239987 - Remove marionette-transport dependency from DOM media tests; r=sydpolk
--HG--
extra : commitid : 7YVYsANtOVf
extra : rebase_source : 668465379cb1294d077be1f758b2a29a98f76b9d
extra : histedit_source : bc77f008fe9c987e9384a882ad17185e124568db
2016-01-30 08:55:54 +00:00
Fabrice Desré
c3b0e3137e Bug 1245052 - various media b2g build errors r=jya 2016-02-02 05:12:55 -08:00
Gerald Squelart
7511beb447 Bug 1239983 - Diags around TrackBuffersMgr promises - r=jya
Added diagnostics around demuxer init/reset promises, to catch early cases
where TrackBuffersManager::mInputDemuxer is destroyed while an init/reset
promise is in flight, which would cause later issues when the 'Then' clause
assumes that mInputDemuxer still exists.

Note: This is *not* an actual fix for crashes linked to this bug, but it should
help identify unexpected situations, or instead eliminate these patched
locations as sources of crashes.
A new bug will be needed to examine the fallout from this patch and produce a
real fix, or continue investigating.
2016-02-02 20:20:03 +11:00
Kaku Kuo
38b05e6a4e Bug 1242338 - test cases; r=jwwang
--HG--
extra : transplant_source : d%1F%1D0%14%EFr.o%D2pUyr%E8%CA%B8%AB%FD%01
2016-01-25 17:57:57 +08:00
Kaku Kuo
300161c223 Bug 1242338 - fix numerical issue in MediaDecoder::Seek(); r=jwwang
--HG--
extra : transplant_source : T%A6%E5%E4%C7%EC%AA%7Ba%5E%F9%BA%9B%91%DC%18%E1%F9%FF%A5
2016-01-25 19:15:27 +08:00
Jean-Yves Avenard
1397b86c7b Bug 1243608: P6. Only seek audio to video seek time when performing a fast seek. r=cpearce
This allows for much faster seek time.
2016-02-02 18:57:14 +11:00
Jean-Yves Avenard
1f7e6f40c9 Bug 1243608: P5. Add type utility methods to SeekTarget class. r=cpearce 2016-02-02 18:57:13 +11:00
Jean-Yves Avenard
e345db00ed Bug 1243608: P4. Have MediaDecoderReader::SeekPromise return a TimeUnit. r=cpearce 2016-02-02 18:57:13 +11:00
Jean-Yves Avenard
b7b6a77158 Bug 1243608: P3. Make SeekTarget::mTime a TimeUnit object. r=cpearce
Also makes it a private member and provide a GetTime() accessor instead.
2016-02-02 18:57:12 +11:00
Jean-Yves Avenard
83fff9be79 Bug 1243608: P2. Pass the full SeekTarget object to MediaDecoderReader::Seek. r=cpearce
This will allow the reader to know if we are performing a fast seek.
2016-02-02 18:57:12 +11:00
Jean-Yves Avenard
cacbb382cd Bug 1243608: P1. Only use video time if video frame contains seek target. r=cpearce
This restrict the behaviour introduced in bug 1112438.
2016-02-02 18:57:11 +11:00
Jean-Yves Avenard
13208cc3e7 Bug 1244523: [mp4] P4. Add gtest. r=kentuckyfriedtakahe 2016-02-02 16:27:49 +11:00
Jean-Yves Avenard
52d9bcf3d6 Bug 1244523: P1. Allow video/quicktime mimetype. r=cpearce
It's just like video/mp4
2016-02-02 16:27:46 +11:00
Carsten "Tomcat" Book
ef0f3cb049 Backed out changeset 3c471a71317e (bug 1112438) for m2 test failures 2016-02-01 10:08:41 +01:00
Jean-Yves Avenard
f7eb24a6ab Bug 1244477: Offset seek time by start time. r=jwwang
We adjust the timestamps as frames are returned by the decoder, but weren't adjusting the seek time.
2016-02-01 17:45:32 +11:00
Jean-Yves Avenard
49b4401684 Revert "Bug 1112438 - Make newCurrentFrameTime more accurate while seeking by checking audio & video timestamp boundary in addition. r=cpearce" r=cpearce
This reverts commit 4b812ca9

The original commit was a work around for poorly encoded videos generated by some FFOS devices which could make the first audio frame non-zero. Trying then to make them appear as zero when seeking to start.

There are better ways to get around this problem.
2016-02-01 17:45:32 +11:00
Sotaro Ikeda
63c6d1ff18 Bug 1239611 - Remove GonkNativeWindowClient r=nical 2016-01-31 16:29:59 -08:00
Nicholas Nethercote
4d79a620bf Bug 1187151 (part 13) - Replace nsBaseHashtable::Enumerate() calls in dom/ with iterators. r=baku.
--HG--
extra : rebase_source : 9d3956d74a12649763c3da24e66f20b8013d87d2
2016-01-28 14:08:19 -08:00
Phil Ringnalda
461fc8cd76 Bug 1237176 - actually disable test_bfcache.html on Android 2016-01-31 11:58:58 -08: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
b00cdd6088 Bug 1235261 - Part 6: Rename AutoInfallibleTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Birunthan Mohanathas
373593275e Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Phil Ringnalda
d3cec93f2b Bug 1127828 - disable test_peerConnection_twoAudioVideoStreamsCombined.html on Linux debug e10s for frequent hangs
--HG--
extra : rebase_source : ebcf9bbc804b75ffb9a04fb6e0657db9ce7c9f3d
2016-01-31 00:46:18 -08:00
Phil Ringnalda
79f94ae18b Bug 1171255 - disable test_peerConnection_twoAudioVideoStreams.html on Linux debug e10s for frequent hangs
--HG--
extra : rebase_source : 83f8dc0dd39ac9b6a79369b55284ba53b1f85f30
2016-01-31 00:45:31 -08:00
Phil Ringnalda
bcabd8259a Bug 1237176 - skip dom/media/webspeech/synth/test/test_bfcache.html on Linux and Android for frequent timeouts
--HG--
extra : rebase_source : 589c2e3bef156bfda704a119dd4ddc20200f42ee
2016-01-31 00:44:45 -08:00
Kyle Huey
91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Jean-Yves Avenard
81ef536abd Bug 1212323: P2. Have IsVideoAccelerated return a Promise. r=cpearce 2016-01-30 12:52:35 +11:00
Jean-Yves Avenard
ba68bee3c5 Bug 1212323: P1. Use a 640x360 SPS to test for HW decoding support. r=cpearce
Some machines will always use software decoding for a 64x64 videos.
2016-01-30 12:52:35 +11:00
Syd Polk
be898d0326 Bug 1238648 - Use external-media-tests in tree instead of github for tests. r=maja_zf, r=whimboo
--HG--
extra : commitid : 9alr2iRFKaf
extra : rebase_source : 6a46414396a317bb1d5e493be1fa30e2f62e409d
2016-01-29 16:12:30 -06:00
Xidorn Quan
dd6be4d4ca Bug 1241901 part 4 - Stop using nsAutoPtr for holding primitive arrays. r=froydnj
--HG--
extra : source : 683ad831dc3e7fc197cbfe1b53665c777b3158ab
2016-01-30 10:33:41 +11:00
Wes Kocher
4c1c8ea235 Backed out 3 changesets (bug 1212323) for WinXP debug crashes CLOSED TREE
Backed out changeset 7215ed1cfcef (bug 1212323)
Backed out changeset bd7599dcee0d (bug 1212323)
Backed out changeset 228267494daa (bug 1212323)

--HG--
extra : commitid : C8ZtL47yMj1
2016-01-29 10:30:16 -08:00
JW Wang
dafc0fc42b Bug 1243627 - FFVPXRuntimeLinker::Init() should set sLinkStatus to LinkStatus_FAILED before returning false. r=jya. 2016-01-29 10:47:32 +08:00