Commit Graph

3444 Commits

Author SHA1 Message Date
Rick Eyre
3c33886b48 Bug 881976 - Part 2: Expose TextTrackList's MediaElement to chrome JS. r=rillian, r=bz
Our JS WebVTT implementation (vtt.js) needs access to a TextTrackList's
MediaElement in order to compute a TextTrackCue's line position. Therefore,
we need to expose it to chrome JS.
2014-01-27 14:51:28 -05:00
Ben Kelly
a8fbf8f6c7 Bug 960873: Part 8: Use AudioCompactor in android PluginMediaReader.cpp. r=cpearce (DONTBUILD for re-land) 2014-02-06 16:59:06 -05:00
Ben Kelly
dee7f1097d Revert Bug 960873 Part 8 (de00c8bfc9b9) due to missing r= in commit message 2014-02-06 16:55:00 -05:00
Ben Kelly
d1627d5b5a Bug 960873: Part 8: Use AudioCompactor in android PluginMediaReader.cpp. 2014-02-06 16:49:53 -05:00
Ryan VanderMeulen
9bf72037e1 Merge m-c to inbound on a CLOSED TREE. 2014-02-06 16:29:41 -05:00
Ryan VanderMeulen
c4a74612a7 Merge b2g-inbound to m-c. 2014-02-06 16:28:14 -05:00
Ehsan Akhgari
289dcad87c Bug 968879 - Use [Pref] annotations to enable web speech interfaces; r=smaug 2014-02-06 15:00:37 -05:00
JW Wang
f8f435b6ba Bug 964674 - Use SpecialPowers.pushPrefEnv to ensure "media.video_stats.enabled" is turned on/off before proceeding test. r=padenot 2014-02-06 16:27:35 +08:00
Alfredo Yang
2b0b71d127 Bug 968144 - Stop sending frame when camera stopping. r=jesup 2014-02-06 10:12:07 -05:00
Daniel Holbert
43b9beb480 Bug 968634: Fix broken inequality comparison in SpeechRecognition.cpp. r=ggp 2014-02-06 10:56:50 -08:00
Ehsan Akhgari
87c1762284 Bug 968643 - Part 1: Stop using [PrefControlled]; r=bzbarsky 2014-02-06 13:28:14 -05:00
Ehsan Akhgari
826fbbc616 Bug 968479 - Remove the media.webaudio.enabled pref; r=roc
--HG--
extra : rebase_source : 3618cb3097aa99a79a06af016bf6b3a3c6f77208
2014-02-06 08:36:46 -05:00
Ralph Giles
75b75bea7a Bug 966311 - Calculate frame size for stereo wave. r=doublec
We were assuming 8-bit WAVE files were mono-only, but this is
not necessarily the case.
2014-01-31 13:50:45 -08:00
JW Wang
bf3cd4d7fc Bug 962883 - Use SpecialPowers.pushPrefEnv to ensure "media.ogg.enabled" is turned off before testing media recorder. r=jsmith 2014-01-28 12:03:59 +08:00
Karl Tomlinson
6e6e27d488 b=967992 collect unreferenced AudioBufferSourceNodes with no buffer r=padenot
The playing ref now only exists while there is a buffer.
We don't currently dispatch ended events when there is no buffer.

--HG--
extra : transplant_source : Ba%0BRD%89%96%99%F14%B6%40%3D%B2%C1%D5%28%D6%15%12
2014-02-06 08:33:16 +13:00
Karl Tomlinson
0c2d8af55d b=967992 dispatch ended event, remove playing ref when source buffer is replaced with one shorter than offset r=padenot
Sending an updated BUFFEREND will stop playback appropriately.

--HG--
extra : transplant_source : %17%81%5D%B5%CD%F1%7F%EC%23%28%F5D%E4oh%DB%9F%E7%210
2014-02-06 08:30:49 +13:00
Karl Tomlinson
c58fe4a68a b=967992 test to check for ended event when source buffer is replaced with another shorter than offset
--HG--
extra : transplant_source : -HA%5D%8E%10%1B%14%E8%E2A%9Al%CF%A5d%7D%A3%9B%A1
2014-02-06 08:29:12 +13:00
Karl Tomlinson
515b015dfb b=967972 include offset in buffer position r=padenot
There is a change in behaviour re the offset parameter when changing the
buffer while playing to one with a different sample rate, but I'm not clear
that what we current do with mPosition in that situation is best anyway.  I
think the main thing is to ensure playback from the same place if the buffer
is changed to one with the same sample rate.

--HG--
extra : transplant_source : %17%40%15%12L%9E%05et%C2o%BE%15%D7%C7%F4%ED%5E%24q
2014-02-06 08:28:42 +13:00
Karl Tomlinson
9a841021d0 b=967972 change DURATION engine parameter to BUFFEREND r=padenot
--HG--
extra : transplant_source : %B4%F3i%7FV%A95F%D0%BD%C4%E6u%03%F7%04%7Di%7C%A9
2014-02-06 08:27:45 +13:00
Atte Kettunen
88947e92b0 test for bug 952756
--HG--
extra : transplant_source : %7E%B4%3C%8B%F6m%B3%CD%12%F4%93%FB%A1%D3%21%D5%F6Q%AFz
2014-02-06 08:18:39 +13:00
Karl Tomlinson
49da1959b6 b=967924 correct resampler input buffer sample count estimate math r=padenot
--HG--
extra : transplant_source : %15%90%0C%22_%99%BFK%14%93%28L%23hZ1%FE%B7NB
2014-02-06 08:15:31 +13:00
Ben Kelly
315987bce8 Bug 960873: Part 7: Reduce apple mp3 MAX_AUDIO_FRAMES to minimize alloc slop. r=cpearce 2014-02-05 18:11:25 -05:00
Ben Kelly
4bb9074683 Bug 960873: Part 6: Make DirectShow use AudioCompactor. r=cpearce 2014-02-05 18:11:25 -05:00
Ben Kelly
facb109437 Bug 960873: Part 5: Make gstreamer use AudioCompactor. r=cpearce 2014-02-05 18:11:25 -05:00
Ben Kelly
d71d6904a9 Bug 960873: Part 4: Make OMX use AudioCompactor. r=cpearce 2014-02-05 18:11:25 -05:00
Ben Kelly
814c2abd6f Bug 960873: Part 3: AudioCompactor gtest unit tests. r=cpearce 2014-02-05 18:11:25 -05:00
Ben Kelly
110ff07411 Bug 960873: Part 2: Create AudioCompactor class to minimize allocation slop. r=cpearce
Based on original patch written by :gal.
2014-02-05 18:11:25 -05:00
Alessandro Decina
217a54bb7a Bug 959007 - Firefox crashes when starting html5 web player. r=cpearce, r=edwin 2014-02-05 17:46:04 -05:00
Rick Eyre
f29b2ae1a1 Bug 881976 - Part 1: Expose TextTrack::TextTrackList to Chrome JS. r=rillian, r=bz
Our JS WebVTT implementation (vtt.js) needs access to the Track's
TextTrackList in order to compute the line position of a TextTrackCue.
Therefore, we need to expose it to chrome JS so that vtt.js can have
access to it.
2014-01-27 13:10:06 -05:00
Ryan VanderMeulen
4e6cca4a6d Merge b2g-inbound to m-c. 2014-02-05 15:47:36 -05:00
Ryan VanderMeulen
666c330e76 Merge inbound to m-c. 2014-02-05 15:20:59 -05:00
Phil Ringnalda
1af4f7e752 Backed out 6 changesets (bug 960873) for Win64 build bustage
Backed out changeset 33d8989841ac (bug 960873)
Backed out changeset 6c9e404aeb3f (bug 960873)
Backed out changeset 36c8b10b0a31 (bug 960873)
Backed out changeset 29c36a7acfb0 (bug 960873)
Backed out changeset 6e3966e0eb40 (bug 960873)
Backed out changeset 612db692256b (bug 960873)
2014-02-05 09:28:14 -08:00
Carsten "Tomcat" Book
9214e38f89 merge b2g-inbound to mozilla-central 2014-02-05 13:23:25 +01:00
Ben Kelly
baa4dd0cda Bug 960873: Part 7: Reduce apple mp3 MAX_AUDIO_FRAMES to minimize alloc slop. r=cpearce 2014-02-04 23:10:43 -05:00
Ben Kelly
d4056edd6e Bug 960873: Part 6: Make DirectShow use AudioCompactor. r=cpearce 2014-02-04 23:10:43 -05:00
Ben Kelly
21eed869a5 Bug 960873: Part 5: Make gstreamer use AudioCompactor. r=cpearce 2014-02-04 23:10:43 -05:00
Ben Kelly
d59e1509d7 Bug 960873: Part 4: Make OMX use AudioCompactor. r=cpearce 2014-02-04 23:10:43 -05:00
Ben Kelly
374dfef993 Bug 960873: Part 3: AudioCompactor gtest unit tests. r=cpearce 2014-02-04 23:10:43 -05:00
Ben Kelly
ceb8a27ae2 Bug 960873: Part 2: Create AudioCompactor class to minimize allocation slop. r=cpearce
Based on original patch written by :gal.
2014-02-04 23:10:43 -05:00
Ben Kelly
1f1ea86463 Bug 960873: Part 1: Refactor MediaDecoderReader.h into separate headers. r=cpearce 2014-02-03 20:49:21 -05:00
Karl Tomlinson
65d29a3804 b=966867 use internal linkage for GetSampleRateForAudioContext r=kinetik
--HG--
extra : transplant_source : t%F5%2A%A2%ADbI%40%A3%0E%9FS%D1%FCC%0B%1B%3E%0A%9B
2014-02-03 17:40:24 +13:00
Karl Tomlinson
f967a2f301 b=966867 don't overwrite preferred sample rate with default r=kinetik
--HG--
extra : transplant_source : /S%9D/%BC%80%E0%E3%C3%11%E7%EA%D4%BB%F3%D7%AD%06%B7%25
2014-02-03 17:40:03 +13:00
Karl Tomlinson
15a109ce4e b=966800 don't ignore blocking changes when another stream is finishing or underrunning r=roc
--HG--
extra : transplant_source : %7C%C3B%08%3E%D2%B2%93%BC%811%22%D1%27%95%AF%BD%D1eB
2014-02-03 13:55:41 +13:00
Alfredo Yang
86c16b7caa Bug 964197 - Add frame duration for synchronization. r=cpearce 2014-02-02 20:57:41 -05:00
Alfredo Yang
06e9d4304d Bug 961618 - Reduce memory usage by swapping audio/video array pointer. r=cpearce 2014-01-31 21:51:27 -05:00
Benjamin Chen
08847cde7f Bug 964132 - [RTSP] Fix the cycle reference in RtpsMediaResource. r=sworkman 2014-02-05 10:41:42 +08:00
Paul Adenot
fbc46d612c Bug 883010 - Optimize MediaStreamGraphImpl::UpdateStreamOrder in order to optimize away how much time we spend on it in every iteration of the MSG. r=roc
--HG--
extra : rebase_source : f1b09842f12b66ac0398b4780865cde461445a8a
2014-01-29 14:34:35 +01:00
Karl Tomlinson
5530939c60 b=966636 rename resampling copy variables consistently and test remaining input better r=padenot
--HG--
extra : rebase_source : 7d2c34865aeb21d67207e0d4e7b2fd3e8956d54c
2014-02-05 14:42:18 +13:00
Chris Pearce
423a5bf288 Bug 962385 - Make WMF PlatformDecoderModule conform to new async interface. r=padenot
--HG--
rename : content/media/fmp4/wmf/WMFAudioDecoder.cpp => content/media/fmp4/wmf/WMFAudioOutputSource.cpp
rename : content/media/fmp4/wmf/WMFAudioDecoder.h => content/media/fmp4/wmf/WMFAudioOutputSource.h
rename : content/media/fmp4/wmf/WMFVideoDecoder.cpp => content/media/fmp4/wmf/WMFVideoOutputSource.cpp
rename : content/media/fmp4/wmf/WMFVideoDecoder.h => content/media/fmp4/wmf/WMFVideoOutputSource.h
2014-02-05 14:29:31 +13:00
Chris Pearce
43df7e9854 Bug 962385 - Update PlatformDecoderModule interface to run asynchronously. r=kinetik 2014-02-05 14:29:28 +13:00