Commit Graph

5150 Commits

Author SHA1 Message Date
Randell Jesup
0ee6fc3ed1 Bug 1074420: handle repeated short audio DataCallback()s r=roc 2014-09-30 10:35:17 -04:00
Randell Jesup
c27c3931ff Bug 1074048: Allow MainThread access if the graph is shut down (for RunDuringShutdown) r=roc 2014-09-30 08:59:05 -04:00
JW Wang
ab65de651f Bug 1051658 - Part 1 - handle AudioSink init failure in MediaDecoderStateMachine. r=kinetik. 2014-09-29 17:42:00 +02:00
JW Wang
b87b1bef23 Bug 1051658 - Part 2 - notify decode error when AudioSink init failed. r=kinetik 2014-09-29 01:31:00 +02:00
JW Wang
8b1437a232 Bug 962874 - Enable content/media mochitests on b2g desktop builds. r=cpearce 2014-09-29 19:23:00 +02:00
Carsten "Tomcat" Book
a20d7f582b Backed out changeset 2af5453da3ab (bug 1074004) 2014-09-30 08:16:31 +02:00
JW Wang
d21e0abb6e Bug 883731 - Progress update should be associated with network state transitions. Also centralize network state transition code. r=cpearce 2014-09-24 19:26:00 +12:00
JW Wang
3714d8b91e Bug 883731 - Remove unnecessary update of readyState and introduce NEXT_FRAME_UNAVAILABLE_SEEKING so that we return HAVE_METADATA while seeking. r=cpearce 2014-09-24 19:25:00 +12:00
JW Wang
7ba932d196 Bug 883731 - Remove ResourceLoaded notifications since they don't make much sense with a media cache. r=cpearce
Based on roc's patch in https://bugzilla.mozilla.org/page.cgi?id=splinter.html&bug=883731&attachment=767505.
2014-09-24 19:25:00 +12:00
Matthew Gregan
3b336bf2cf Bug 1069660 - Wrap long lines at 80 cols. 2014-09-30 14:14:41 +13:00
Matthew Gregan
a6330ee024 Bug 1069660 - Add mochitests for WebM/Opus files with invalid DiscardPadding. 2014-09-30 14:14:41 +13:00
Matthew Gregan
b6efffa721 Bug 1069660 - Enforce DiscardPadding validity. 2014-09-30 14:14:40 +13:00
Matthew Gregan
fe0dfa0ede Bug 1069660 - WebMReader cleanups. 2014-09-30 14:14:40 +13:00
Matthew Gregan
672372df86 Bug 1069660 - Factor Vorbis and Opus decoding out. 2014-09-30 14:14:40 +13:00
Matthew Gregan
a0648a0cdf Bug 1074004 - Fix WebMioData implementation in TestWebMWriter. r=giles 2014-09-29 13:13:21 +13:00
Chris Pearce
95bdb7948d Bug 1073792 - Refresh WMF output types on discontinuities, to catch cases where WMF doesn't notify us of an output type change. r=kinetik 2014-09-30 11:59:15 +13:00
Eric Rahm
9aa0d3ba40 Bug 1073712 - Include prprf.h in WebMReader. r=cpearce 2014-09-29 11:51:20 -07:00
Eric Rahm
a0756ffd68 Bug 1068981 - Acquire monitor before calling WakeUp. r=roc 2014-09-29 11:46:29 -07:00
Randell Jesup
e651dbd38f Bug 1061702: Stop audio sources from continuing to play garbage after being stopped r=roc
* clear audio callback buffer if no streams have audio
2014-10-03 00:47:59 -04:00
Jan Beich
6930a02b9f Bug 1074009 - Fix type causing mFarendObserverRef to not be initialized. r=jesup 2014-09-28 17:27:00 -04:00
JW Wang
4b96ebb38c Bug 1038091 - Pause the player instead of stopping it to avoid resetting playback position and resulting in audio clock going backward. r=kinetik 2014-09-28 19:36:00 -04:00
Carsten "Tomcat" Book
9bfd94ee23 Backed out changeset 5db9f8fbcaf4 (bug 883731) for webplatform 3 test failures 2014-09-29 10:57:48 +02:00
Carsten "Tomcat" Book
c6b8533277 Backed out changeset ca140e7557d6 (bug 883731) 2014-09-29 10:57:28 +02:00
Carsten "Tomcat" Book
03709534a8 Backed out changeset 43a1f1f79302 (bug 883731) 2014-09-29 10:57:26 +02:00
JW Wang
49e2d85c76 Bug 883731 - Part3 - Progress update should be associated with network state transitions. Also centralize network state transition code. r=cpearce 2014-09-24 19:26:00 +02:00
JW Wang
aeae7c9915 Bug 883731 - Part2 - Remove unnecessary update of readyState and introduce NEXT_FRAME_UNAVAILABLE_SEEKING so that we return HAVE_METADATA while seeking. r=cpearce 2014-09-24 19:25:00 +02:00
JW Wang
76d3882dcc Bug 883731. Part1 - Remove ResourceLoaded notifications since they don't make much sense with a media cache. r=cpearce 2014-09-24 19:25:00 +02:00
Matthew Gregan
d77bcd67fd Bug 1073346 - Add some basic GTest coverage of the WebMBufferedParser. r=cpearce 2014-09-26 17:25:13 +12:00
Randell Jesup
1e4b9249cc bug 1072780: patch 4 - Use atomics for EnsureNextIteration to close races around CurrentDriver r=roc 2014-09-28 12:07:25 -04:00
Randell Jesup
682e33494d bug 1072780: patch 3 - Fix up Revive() to not trigger assertions, and also to avoid Init() (blocking) on MainThread r=roc 2014-09-28 12:07:24 -04:00
Randell Jesup
9a91ca0a91 Bug 1072775: Additional assertions for MediaStreamGraph/GraphDriver r=roc 2014-09-28 12:07:24 -04:00
Randell Jesup
cdc2162522 Bug 1072780: patch 1 - clean up CurrentDriver() use off-MSG-thread; fix InCallback() r=roc 2014-09-28 12:07:24 -04:00
Daniel Holbert
ec62208fdf Bug 1073716: Use C++ std::abs() instead of C abs(), for non-'int'-typed values, to address clang warning. r=ehsan 2014-09-28 09:59:46 -07:00
Daniel Holbert
a0869f434b Back out bug 1072780 & bug 1072775 (by reverting to cset before them, d71444b75291) for pthread assertion failures 2014-09-28 09:56:40 -07:00
Randell Jesup
aa18ebcddb bug 1072780: patch 4 - Use atomics for EnsureNextIteration to close races around CurrentDriver r=roc 2014-09-28 12:07:25 -04:00
Randell Jesup
864eefaddc bug 1072780: patch 3 - Fix up Revive() to not trigger assertions, and also to avoid Init() (blocking) on MainThread r=roc 2014-09-28 12:07:24 -04:00
Randell Jesup
70b7a63015 Bug 1072775: Additional assertions for MediaStreamGraph/GraphDriver r=roc 2014-09-28 12:07:24 -04:00
Randell Jesup
cd81bcf1d7 Bug 1072780: patch 1 - clean up CurrentDriver() use off-MSG-thread; fix InCallback() r=roc 2014-09-28 12:07:24 -04:00
Randell Jesup
012b38099a Bug 1033066: Never let AudioSegments underflow mDuration and cause OOM allocation r=karlt 2014-09-26 14:13:17 -04:00
Sotaro Ikeda
64a9d9ae61 Bug 1069109 - Do not occupy Audio channel if DOMMediaStream does not have audio r=cajbir 2014-09-26 06:14:32 -07:00
JW Wang
4bf57c75fc Bug 1018125 - remove SpecialPowers.pushPrefEnv() which delays loading media resources and breaks the purpose of this test. r=kinetik 2014-09-25 19:44:00 +02:00
Phil Ringnalda
6eb3e94389 Back out 693507b38116 (bug 1041180) since it doesn't like compiling without its friend
CLOSED TREE
2014-09-25 21:18:01 -07:00
Matthew Gregan
4bdec4ba22 Bug 1072483 - Bustage fix for p2. 2014-09-26 14:37:07 +12:00
Matthew Gregan
34cfa12b0f Bug 1072483 - Restore cluster sync search to WebM buffered parser (from bug 1044498) and use it when starting a parser from an arbitrary offset. r=cajbir 2014-09-24 20:13:00 +12:00
Matthew Gregan
8459033f1b Bug 1072483 - Fix unit conversion error in WebMReader::GetBuffered. r=cpearce 2014-09-24 19:41:00 +12:00
Matthew Gregan
2c7472bdc5 Bug 739094 - Push an empty AudioData instance to the AudioQueue when first WebM audio packet is empty. r=cpearce
Without this, the media start time is derived from the first packet that produces audio, but that may have a non-zero start time in badly muxed files.
2014-09-24 20:21:00 +12:00
Christoph Kerschbaumer
fd3d3cc25b Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-25 16:10:28 -07:00
Carsten "Tomcat" Book
e1a3c6bb17 merge fx-team to mozilla-central a=merge 2014-09-25 14:35:17 +02:00
Mark Hammond
0bc3f1e363 Bug 1072739 - disable test_streams_element_capture.html test on windows with e10s due to bug 1065881. r=mossop 2014-09-25 14:19:17 +10:00
Ehsan Akhgari
2ca0839618 Bug 1072294 - Build more files in content/media/mp4 in unified mode; r=cpearce 2014-09-24 18:41:48 -04:00
Vasanthakumar Pandurangan
a77fd9691a Bug 1059700 - AudioOffloadPlayer: Use wakelock to avoid suspend between pause and reset. r=roc 2014-09-24 01:22:57 -07:00
John Lin
1ede1934fa Bug 1067442 - OMXCodecWrapper image validation supports input from WebrtcOMXH264VideoEncoder r=jesup 2014-09-24 09:21:16 -04:00
Carsten "Tomcat" Book
76043a5642 Backed out changeset 4bb508b6f0c5 (bug 1041180) for XPCshell test failures 2014-09-24 13:13:20 +02:00
Christoph Kerschbaumer
a2ecbd83dc Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-24 01:01:07 -07:00
Blake Wu
fcbcbb70e6 Bug 1069857- clear seek timestamp in time. r=jwwang r=cpearce 2014-09-24 09:41:49 +08:00
Edwin Flores
0dcc84b0c0 Bug 1044742 - Add mochitests for Encrypted Media Extensions support - r=cpearce 2014-09-24 15:59:11 +12:00
Edwin Flores
fa5ef650c8 Bug 1044742 - Backout 8f13101a6dbb on a CLOSED TREE - r=bustage 2014-09-24 12:07:18 +12:00
Wes Kocher
ff7c6d21cd Backed out 2 changesets (bug 1041180) for build bustage on a CLOSED TREE
Backed out changeset 1cfb645267a4 (bug 1041180)
Backed out changeset afc9903ff28f (bug 1041180)
2014-09-23 16:26:49 -07:00
Edwin Flores
10437b06ed Bug 1044742 - Add mochitests for Encrypted Media Extensions support - r=cpearce 2014-09-24 10:04:49 +12:00
Edwin Flores
a0d147ac22 Bug 1044742 - Fix multiple track support for EME - r=cpearce 2014-09-24 10:04:49 +12:00
Edwin Flores
e18043e3ad Bug 1059043 - Move MediaKeys.createSession into MediaKeySession as per spec - r=cpearce,smaug 2014-09-24 10:04:49 +12:00
Edwin Flores
d0b5b36ea1 Bug 1066425 - Make GMPDecryptorChild callbacks work off GMP thread - r=cpearce 2014-09-24 10:04:48 +12:00
Edwin Flores
7b48bb5556 Bug 1060123 - Ensure metadata stays alive during decryption in GMPDecryptorChild - r=cpearce 2014-09-24 10:04:48 +12:00
Edwin Flores
6a2d2b9d84 Bug 1039886 - Add warnings to Gecko Media Plugin loading code r=cpearce 2014-09-24 10:04:48 +12:00
Edwin Flores
5eee8bf077 Bug 1039886 - Segregate Gecko Media Plugins by origin r=cpearce 2014-09-24 10:04:47 +12:00
Edwin Flores
0d02aed6b9 Bug 976023 - Fix crash in AppleMP3Reader - r=rillian 2014-09-24 10:46:17 +12:00
Christoph Kerschbaumer
bc20780b98 Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-23 09:46:54 -07:00
Sotaro Ikeda
5db4e3ab07 Bug 1052206 - Add Fuzz r=kinetik 2014-09-22 13:26:36 -07:00
Ryan VanderMeulen
344138b126 Merge m-c to inbound. a=merge 2014-09-22 15:50:08 -04:00
JW Wang
dd36ca6c9c Bug 962871 - Enable media mochitests on B2G debug and disable some failed tests. r=cpearce 2014-09-14 23:35:00 -04:00
Alfredo Yang
69fe951ae4 Bug 1069795 - Use promise and pushEnv instead of setEnv. r=jwwang 2014-09-22 02:21:00 -04:00
Karl Tomlinson
f9cddf8331 b=1069113 explicitly unset media.mediasource.enabled when testing disabling of MediaSource r=kinetik
so that web platform tests can be run with MediaSource enabled.

--HG--
extra : transplant_source : %C9%01%A22%DF%8C%89%CF%7E6%0E%FCR%EE%0E%BE%15%B1%D2%92
2014-09-12 17:29:35 +12:00
Christoph Kerschbaumer
9fb0b5cf71 Bug 1038756: Callsites creating a channel in content/media/ (r=roc) 2014-09-21 09:37:32 -07:00
Ralph Giles
f6ec236298 Bug 1067377 - Use VPX_ prefixed defines in WebMReader. r=kinetik 2014-09-19 15:01:00 -07:00
Steffen Michalke
ec15b57397 Bug 1067377 - Use VPX_ prefixed defines in VP8TrackEncoder. r=giles
The unprefixed IMG_FMT and PLANE defines from libvpx 0.9.x
are disabled by default subsequent to the 1.3.0 release.
2014-09-15 07:16:00 -07:00
Josh Aas
ea42260ec4 Bug 1063318: Switch Chromium IPC code to Mozilla's ref/auto ptr types. Also fix thread safety bug. r=nfroyd 2014-09-19 13:17:17 -05:00
Matthew Gregan
47c538944e Bug 1065250 - Factor some of SourceBuffer::AppendData into TrackBuffer::Append. Move ContainerParser to a new file. r=karlt
--HG--
rename : content/media/mediasource/SourceBuffer.cpp => content/media/mediasource/ContainerParser.cpp
2014-09-17 18:33:00 +12:00
Rishab Arora
93346d1b93 Bug 958378 - Adding memory reporters to measure memory for MediaRecorder framework r=roc, rlin 2014-07-01 10:55:29 +05:30
Nigel Babu
0b4bd24e29 Backed out changeset 9362521b7f7a (bug 1068970) for mochitest-1 bustage, CLOSED TREE 2014-09-19 10:52:20 +05:30
Matthew Gregan
5b5712a79f Bug 1069730 - Grab decoder monitor when clearing mEssentialTrackBuffers. r=cajbir
Also ensure MediaSource::InitializationEvent is only queued once.
2014-09-19 15:55:58 +12:00
Chris Pearce
0b0b954051 Bug 1068996 - Make WMFMediaDataDecoder::Shutdown() actually shutdown. r=kentuckyfriedtakahe 2014-09-19 15:44:27 +12:00
Chris Pearce
71030c9d35 Bug 1068970 - Ensure MediaDecoderStateMachine::SendStreamAudio() uses UsecsToFrames correctly. r=roc 2014-09-19 15:44:24 +12:00
Matthew Gregan
dfade6c481 Bug 1066943 - Add test file. 2014-09-19 13:01:26 +12:00
Matthew Gregan
76bcc9e4b3 Bug 1066943 - Fix Opus discard handling. 2014-09-17 19:18:00 +12:00
Wes Kocher
fc53ede9d6 Backed out changeset d77733726cae (bug 1063318) for b2g mochitest leaks 2014-09-18 16:30:33 -07:00
Josh Aas
d9721c0792 Bug 1063318: Switch Chromium IPC code to Mozilla's ref/auto ptr types. Also fix thread safety bug. r=nfroyd 2014-09-18 15:52:59 -05:00
Matthew Gregan
ccb7a1ab98 Backout 783379123376 (bug 1065250) due to Win32 debug OOMs on M1 2014-09-19 08:10:15 +12:00
Jean-Yves Avenard
df253557b9 Bug 1069277: Do not obfuscate AppleFrameRef to fix unified builds r=jesup
CLOSED TREE
2014-09-19 00:38:54 +10:00
Jean-Yves Avenard
ad45fd4995 Bug 1068597 - Enable h264 video decoder on 10.6. r=rillian 2014-09-18 19:18:29 +10:00
Carsten "Tomcat" Book
261cdd6f71 Backed out changeset 2bca09c404ad (bug 1068597) for breaking non-unified OS X Builds 2014-09-18 10:59:40 +02:00
Ralph Giles
c6c5d7e6e7 Bug 1066369 - Return error instead of asserting. r=kinetik
From c2a87a986f6d0ed699ab0fbf5687d8aa5fea8ff0 Mon Sep 17 00:00:00 2001
NS_ASSERTION is debug-only, and fails silently in continuous
integration. Better to return an error here, since failure
could result in a crash later.
2014-09-12 11:24:30 -07:00
Jean-Yves Avenard
0fb73ac0d2 Bug 1068455 - Enable VideoToolbox framework in 10.7. r=rillian 2014-09-17 18:01:59 +10:00
Jean-Yves Avenard
8fb3843655 Bug 1068597 - Enable h264 video decoder on 10.6. r=rillian 2014-09-18 11:08:33 +10:00
Jean-Yves Avenard
67153fa569 Bug 1065397 - Allow playback rate to be reset to normal. r=cpearce 2014-09-16 16:18:04 +10:00
Jean-Yves Avenard
90c23fe3af Bug 1067697 - Work around 10.6 VDA bug. r=rillian 2014-09-18 11:00:53 +10:00
Jean-Yves Avenard
fa6328ebca Bug 1067697 - Account for fmp4 now potentially working on MacOS X 10.6. r=cpearce 2014-09-16 17:22:40 +10:00
Jean-Yves Avenard
f2b4b20586 Bug 1062654 - Part6: Disable VDA in 10.6. r=rillian
VDA causes unexpected crashes in 10.6. Disable for now.
2014-09-18 10:36:39 +10:00
Jean-Yves Avenard
85d5296ced Bug 1062654 - Part 5: Display error code when drain or flush failed. r=rillian 2014-09-11 16:35:47 +10:00
Jean-Yves Avenard
55a1d49ee5 Bug 1062654 - Part 4: Fix Link/Unlink Apple video frameworks cycle. r=rillian
Prefer VideoToolbox when HW acceleration is available. Otherwise use VDA when available
2014-09-12 10:53:19 +10:00
Jean-Yves Avenard
32a0b46f69 Bug 1062654 - Part 3: Derive VT decoder from VDA decoder. r=rillian 2014-09-17 12:54:58 +10:00