Commit Graph

3464 Commits

Author SHA1 Message Date
Ben Kelly
fdd8120dd6 Bug 969114: Avoid allocation slop in MediaCacheStream. 2014-02-10 22:31:40 -08:00
Phil Ringnalda
5a748ed604 Back out f03664765359 (bug 909542) for unexpected assertions and lack of expected assertions 2014-02-10 19:09:23 -08:00
Mike Habicher
e97948ed28 Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus
* * *
Debugging the rotation issue with new camera.js
* * *
Fix the occasionally-invalid MOZ_ASSERT on GonkCameraControl.cpp:844
2014-02-10 17:53:19 -05:00
Ryan VanderMeulen
d2ef169276 Merge inbound to m-c. 2014-02-10 15:42:58 -05:00
Rick Eyre
0471b003b2 Bug 969506 - TextTrack's ActiveCues should return null of TextTrack's mode is set to 'disabled'. r=rillian 2014-02-07 13:59:26 -05:00
Benjamin Chen
83fd8dc8be Bug 964209 - [RTSP] Implement flags() function and set mExtractor to fix content process crash. r=sworkman 2014-02-07 15:46:26 +08:00
JW Wang
194a2b78cb Bug 951100 - a.setAttribute("autoplay", false) doesn't work as expected as a.autoplay = false. r=cpearce 2014-02-10 10:27:47 +08:00
Alfredo Yang
3853c6783a Bug 853356 - gUM video permisson prompt. r=fabrice, felipc, wjohnston, mrbkap, jimm, jesup, khuey, jsmith 2014-02-09 15:34:40 -05:00
Ms2ger
2e89bf81de Merge m-i to m-c. 2014-02-09 10:31:55 +01:00
Ms2ger
59d9de38de Bug 952033 - Part e: Use IntSize in VideoSegment; r=roc 2014-02-09 09:04:38 +01:00
Ms2ger
7f9273ba28 Bug 952033 - Part d: Use IntSize in MediaDecoder; r=roc 2014-02-09 09:04:38 +01:00
Ms2ger
d9ed6641c7 Bug 952033 - Part c: Use IntSize and IntRect in VideoData; r=roc 2014-02-09 09:04:38 +01:00
Ronny Perinke
8e4c34ac59 Bug 967731 - Fix import and type conversion error from bug 963621. r=doublec 2014-02-08 20:58:14 -05:00
Ben Kelly
eceb0a5ba0 Bug 969826: Correctly track number of samples copied in DirectShowCopy. r=cpearce 2014-02-08 16:43:49 -08:00
Rick Eyre
d7d60b44e6 Bug 967157 - Setting TextTrackCue::DisplayState should set TextTrackCue::HasBeenReset to false. r=rillian 2014-02-03 15:27:51 -05:00
Honza Bambas
852124b77e Bug 962949 - disable v.networkState checks in test_preload_actions.html because those are not reliable, r=roc 2014-02-07 22:15:22 +01:00
Ryan VanderMeulen
9b6b0a5e15 Merge inbound to m-c. 2014-02-07 14:22:17 -05:00
Jacek Caban
81f27e5b75 Bug 962385 - Minor GCC compilation fix. 2014-02-07 12:51:34 +01:00
Rick Eyre
0bf15cf8bd Bug 881976 - Part 3: Refactor TextTrack classes. r=rillian
Change the way they store references to eachother to make more sense.
A Track will never belong to a MediaElement directly. It will always
belong to one through a TextTrackList.
2014-01-27 15:17:20 -05:00
Rick Eyre
bc8fa5d9c8 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
48cb1044e7 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
c7cdfb90dd Revert Bug 960873 Part 8 (de00c8bfc9b9) due to missing r= in commit message 2014-02-06 16:55:00 -05:00
Ben Kelly
89fd1b1db1 Bug 960873: Part 8: Use AudioCompactor in android PluginMediaReader.cpp. 2014-02-06 16:49:53 -05:00
Ryan VanderMeulen
c38a20a8ce Merge m-c to inbound on a CLOSED TREE. 2014-02-06 16:29:41 -05:00
Ryan VanderMeulen
612a51c419 Merge b2g-inbound to m-c. 2014-02-06 16:28:14 -05:00
Ehsan Akhgari
38c067be0b Bug 968879 - Use [Pref] annotations to enable web speech interfaces; r=smaug 2014-02-06 15:00:37 -05:00
JW Wang
e57b03630e 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
b5e5adfdfb Bug 968144 - Stop sending frame when camera stopping. r=jesup 2014-02-06 10:12:07 -05:00
Daniel Holbert
6130cb0486 Bug 968634: Fix broken inequality comparison in SpeechRecognition.cpp. r=ggp 2014-02-06 10:56:50 -08:00
Ehsan Akhgari
060c5d2671 Bug 968643 - Part 1: Stop using [PrefControlled]; r=bzbarsky 2014-02-06 13:28:14 -05:00
Ehsan Akhgari
95cbd5d2b1 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
2cf002736e 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
ec8e91fe3e 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
1851b62473 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
15eb0f91d8 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
159fd268a2 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
bc1bc1e841 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
c2e12b28d7 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
7dcc08a270 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
136e2f7273 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
370598838d 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
65a9a27eca Bug 960873: Part 6: Make DirectShow use AudioCompactor. r=cpearce 2014-02-05 18:11:25 -05:00
Ben Kelly
b315beba4d Bug 960873: Part 5: Make gstreamer use AudioCompactor. r=cpearce 2014-02-05 18:11:25 -05:00
Ben Kelly
1fd1627c5c Bug 960873: Part 4: Make OMX use AudioCompactor. r=cpearce 2014-02-05 18:11:25 -05:00
Ben Kelly
0a3a32e1ba Bug 960873: Part 3: AudioCompactor gtest unit tests. r=cpearce 2014-02-05 18:11:25 -05:00
Ben Kelly
ee19863f94 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
7ce36c7636 Bug 959007 - Firefox crashes when starting html5 web player. r=cpearce, r=edwin 2014-02-05 17:46:04 -05:00
Rick Eyre
86a0813daf 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
fdde61f354 Merge b2g-inbound to m-c. 2014-02-05 15:47:36 -05:00
Ryan VanderMeulen
89d6bec583 Merge inbound to m-c. 2014-02-05 15:20:59 -05:00