Commit Graph

19020 Commits

Author SHA1 Message Date
Ryan VanderMeulen
7712bd0f3e Backed out changeset 8d885b139d7d (bug 912280) for bustage. 2014-02-07 10:38:27 -05:00
Jeff Gilbert
2969da41bc Bug 912280 - Implement OES_texture_half_float_linear for WebGL. r=kamidphish 2014-02-07 10:21:49 -05:00
Jacek Caban
1530fe38f2 Bug 962385 - Minor GCC compilation fix. 2014-02-07 12:51:34 +01:00
Rick Eyre
bbede675f5 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
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
Alex Henrie
9763e9f9df Bug 968029 - Use unprefixed box-sizing in content/, dom/, layout/, and widget/. r=dbaron 2014-02-06 12:32:05 -07: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
Richard Barnes
c4252e3d75 Bug 936340 - Implement navigator.sendBeacon. r=sicking 2014-01-17 14:09:38 -08:00
Jeff Walden
0c160e2b59 Bug 969165 - Convert Atomic<T> where T != bool but is used as a bool over to Atomic<bool>, now that it's supported, in content/. r=bent
--HG--
extra : rebase_source : 8123e5dd1728211a9deb0df4e32560eaa7f8a40c
2014-02-06 22:17:07 -08:00
Ehsan Akhgari
82ebdc883f Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Guilherme Goncalves
709b76f764 Bug 968634 - Test for InvalidStateError on all speech recognition handlers. r=smaug
This patch updates the test to make sure we throw InvalidStateError on every
event handler while not on STATE_IDLE.
2014-02-10 15:58:46 -05:00
Masatoshi Kimura
590e1730d2 Bug 969762 - Support non-ASCII dump() messages on Windows. r=jimm 2014-02-11 05:50:16 +09:00
Ryan VanderMeulen
0e3dc9eb1e Merge m-c to inbound. 2014-02-10 15:43:52 -05:00
Olli Pettay
eb2b15d9d4 Bug 969671 - Warn about use of sync XHR in the main thread, r=sicking/ehsan
--HG--
extra : rebase_source : 4af00da28a4e8b6cc1209d9a5e098d9914286deb
2014-02-10 20:35:25 +02:00
Henri Sivonen
e854d787e2 Bug 910211 - Guess the fallback encoding from the top-level domain when feasible. r=emk. 2014-02-06 11:08:01 +02:00
Brian O'Keefe
e3f6084e7a Bug 772828 - Part b: use RESOURCE_FILES in moz.build instead of manual rules in Makefile.in; r=mshal 2013-11-05 13:37:54 -05:00
Antonio M. Amaya
749d1bb2d8 Bug 965273 - CSP: Fix serialization and deserialization and add support for the {} characters on the host name. r=sstamm 2014-01-30 22:22:21 +01:00
Alessandro Decina
f28d197448 Bug 806917 - Add support for GStreamer 1.0. r=edwin, r=gps 2014-02-11 09:22:45 -05:00
Peiyong Lin
412fa18587 Bug 613472 - Use the fallible allocator and propagate errors in AppendASCIItoUTF16. r=bsmedberg 2014-02-11 09:22:45 -05:00
Jon Coppeard
2cf0941496 Bug 965830 - Convert use of JS_CallFunction and related APIs uses to HandleValueArray r=terrence r=smaug 2014-02-11 10:59:16 +00:00
Jon Coppeard
2aed386db1 Bug 965830 - Remove AutoArrayRooter from the public API r=terrence r=smaug 2014-02-11 10:59:15 +00:00
Oleg Romashin
ebf85cd825 Bug 967796 - Implement Pointer Enter/Leave events support. implementation for pointer's. r=smaug 2014-02-10 22:34:51 -08:00
Oleg Romashin
66a2336ff0 Bug 822898 - Implement pointer events. Detect Pointer Listeners. r=smaug 2014-02-10 22:33:29 -08: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
Max Vujovic
5e4c6cdcfe Bug 948265 - [CSS Filters] Move nsAutoFilterInstance filter region calculations into nsSVGFilterInstance. r=roc 2014-02-05 17:04:42 -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
Phil Ringnalda
c3a5fe2488 Backed out 2 changesets (bug 964200) for build bustage
CLOSED TREE

Backed out changeset 7dbe53176a38 (bug 964200)
Backed out changeset 19993e76f4a0 (bug 964200)
2014-02-05 09:19:08 -08:00
Robert Longson
99cbdf39af Bug 964200 (Part 3 main) - Implement Filter Effects Module feDropShadow filter. r=mstange
--HG--
rename : content/svg/content/src/SVGFEGaussianBlurElement.cpp => content/svg/content/src/SVGFEDropShadowElement.cpp
rename : content/svg/content/src/SVGFEGaussianBlurElement.h => content/svg/content/src/SVGFEDropShadowElement.h
rename : dom/webidl/SVGFEGaussianBlurElement.webidl => dom/webidl/SVGFEDropShadowElement.webidl
2014-02-05 16:46:47 +00: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
Phil Ringnalda
bbda68683b Bug 777574 - Skip quickCheckAPI-C.html on Linux Mesa since it fails on ASan tests all the time 2014-02-03 17:04:53 -08:00
Honza Bambas
93f00fa94f Bug 949175 - Remove possibility to un-persist a cache entry after it has been opened, r=michal 2014-02-04 01:52:59 +01:00
William Chen
51f5af34da Bug 946585 - Change how the form element pointer affects parsing template elements. r=hsivonen 2014-01-31 15:03:24 -08:00
Kartikaya Gupta
c6691e53fe Bug 845690 - Print a warning for developers if we apply our implicit backwards-compatible meta-viewport tag. r=ehsan,f=vingtetun 2014-02-03 18:22:09 -05:00
Andrea Marchesini
c2511cfdb1 Bug 965990 - Allow URLSearchParams objects to be associated with multiple URLs, r=ehsan 2014-02-03 16:48:38 +00:00
Boris Zbarsky
97f35b9891 Bug 966710. Flag document.getElementsByTagNameNS as being able to throw, since it can. r=smaug 2014-02-03 11:03:54 -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
Phil Ringnalda
d1893ca9ac Bug 777574 - Skip quickCheckAPI-B4.html on Linux Mesa since it fails on ASan tests all the time 2014-02-02 21:19:46 -08:00
Phil Ringnalda
b19f3b9c4d Bug 777574 - Skip quickCheckAPI-B3.html on Linux Mesa since it fails on ASan tests all the time 2014-02-02 18:39:18 -08:00
Alfredo Yang
86c16b7caa Bug 964197 - Add frame duration for synchronization. r=cpearce 2014-02-02 20:57:41 -05:00
Phil Ringnalda
bb7caba13b Merge m-i to m-c 2014-02-02 17:43:48 -08:00
Phil Ringnalda
ec11ed2164 Bug 777574 - Skip quickCheckAPI-B2.html on Linux Mesa since it fails on ASan tests all the time
--HG--
extra : rebase_source : 4e4304169755fe6fa28457c3b330e173296b6393
2014-02-02 11:43:55 -08:00
Benjamin Chen
08847cde7f Bug 964132 - [RTSP] Fix the cycle reference in RtpsMediaResource. r=sworkman 2014-02-05 10:41:42 +08:00
Jonathan Watt
9da53ed2e9 Bug 827161, part 2 - Implement HTML 5's ValidityState.badInput and implement the state for HTMLInputElement's number type. r=smaug 2014-01-30 12:54:12 +00:00
Jonathan Watt
61486c8d89 Bug 827161, part 1 - Only dispatch 'change' events if an HTMLInputElement's sanitized value has changed. r=smaug 2014-01-30 10:45:46 +00:00
Ryan VanderMeulen
0f91046fc6 Merge m-c to inbound. 2014-02-01 17:22:56 -05:00
Ryan VanderMeulen
c38fd42e3c Merge b2g-inbound to m-c. 2014-02-01 17:22:20 -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
Ryan VanderMeulen
8dd66d724e Merge inbound to m-c. 2014-01-31 21:14:13 -05:00
Ryan VanderMeulen
a5691dcc3c Backed out changeset a6094047ffca (bug 965440) for B2G mochitest crashes.
CLOSED TREE
2014-01-31 15:42:31 -05:00
Chris Pearce
20e5c7ba29 Bug 966002 - Buffer async events to media elements while event delivery is paused like we do for sync events. r=roc 2014-01-31 13:14:17 -05:00
Garrett Robinson
98454ae369 Bug 963901 - Fix variable format error. r=sstamm 2014-01-31 21:54:48 -05:00
Robert Longson
d87b657d84 Bug 964200 (Part 1) - Implement Filter Effects Module feDropShadow filter. r=hsivonen 2014-02-05 14:13:37 +00: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
Jonathan Watt
d938164b96 Bug 844744, part 2 - Make <input type=number> use ICU when available to support localized number input. r=smaug 2014-01-23 15:43:12 +00:00
Phil Ringnalda
f92cb7ef5f Backed out 3 changesets (bug 951770) for test_playback.html timeouts
Backed out changeset ed795ed2bc38 (bug 951770)
Backed out changeset b4978efcdad9 (bug 951770)
Backed out changeset 4cddbc0d5183 (bug 951770)
2014-01-31 23:39:04 -08:00
Ralph Giles
c5a05974f5 Bug 951770 - Fix missing semicolon. r=bustage CLOSED TREE 2014-01-31 23:10:46 -08:00
Ralph Giles
186f2ffd5a Bug 951770 - Fix signed-compare warning. r=bustage
Since we're just testing for equality here, casting mCodecDelay to
a signed type is safe.
2014-01-31 22:22:14 -08: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
Chris Pearce
1aaf07c131 Bug 962385 - Add MediaTaskQueue, for synchronizing events to be run in a thread pool. r=kinetik 2014-02-05 14:29:26 +13:00
Chris Pearce
ece3dd6cab Bug 967357 - Null check MediaResource principal to prevent assertion spam. r=roc 2014-02-05 10:34:15 +13:00
Ralph Giles
71602cd943 Bug 951770 - Reject invalid Opus pre-skip in WebM. r=doublec
The 'pre-skip' value representing encoder delay in the Opus
format is recorded once in the .opus representation, but for
WebM it's in the file both in the CodecDelay element and in
the CodecPrivate data. We now reject files where these two
fields don't match.

Our detodos.webm file was exactly this sort of mismatched
file. It has been renamed and added to the invalid file list
to verify we now reject it. A new detodos.webm replaces it,
remuxed from detodos.opus with a bugfixed mkvmerge.

Based on a patch by Jan Gerber.

--HG--
rename : content/media/test/detodos.webm => content/media/test/invalid-preskip.webm
2014-02-02 19:39:00 -08:00
Edwin Flores
228ef9f9f7 Bug 963621 - Stop passing kClientNeedsFramebuffer into Qualcomm OMXCodec r=doublec
Qualcomm's OMXCodec implementation interprets the kClientNeedsFramebuffer flag
to mean that we only want a thumbnail. Thus, it returns only one frame and then
returns EOS.

This patch adds a Qualcomm-specific hack to not pass their decoder this flag.
2014-01-28 17:31:00 +13:00
Olli Pettay
cd30a9b12b Backout Bug 930793 - Remove favor performance mode (we have still racy b2g tests), a=backout
--HG--
extra : rebase_source : 6f6de1cbf54670d63b74c44ca0134ed9c5354d2b
2014-01-30 21:35:44 -08:00
Eric Faust
c5363b4739 Bug 966044 - Fix unconditional single byte buffer overflow in EbmlComposer::generateHeader(). (r=rillian) 2014-01-30 16:42:00 -08:00
Jan Gerber
c52441d27c Bug 951770 - Reject invalid WebM/Opus files. r=rillian
Verify WebM CodecDelay matches the pre-skip value in CodecPrivate.
2013-12-19 22:19:00 -08:00
Bill McCloskey
8c04390ff0 Bug 962767 - Ensure swapped frameloaders have correct message manager parent (r=smaug) 2014-01-31 10:45:54 -08:00
Benoit Jacob
beb95cd1ce Bug 965440 - VideoData::Create should use gralloc where possible - r=doublec 2014-01-31 13:23:39 -05:00
Benoit Jacob
4703621d85 Bug 964442 - Make CreateImage just take a plain format parameter - r=jrmuizel 2014-01-30 17:58:51 -05:00
Benoit Jacob
3ee7a2d643 Bug 962784 - Convert ImageTypes.h to typed enums - r=jrmuizel
find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(GRALLOC_PLANAR_YCBCR\|PLANAR_YCBCR\|SHARED_RGB\|CAIRO_SURFACE\|MAC_IOSURFACE\|REMOTE_IMAGE_BITMAP\|SHARED_TEXTURE\|REMOTE_IMAGE_DXGI_TEXTURE\|D3D9_RGB32_TEXTURE\)\($\|[^A-Za-z0-9_]\)/\1ImageFormat::\2\3/g'

find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's|ImageFormat\:\:ImageFormat|ImageFormat|g'

find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)STEREO_MODE_\(MONO\|LEFT_RIGHT\|RIGHT_LEFT\|BOTTOM_TOP\|TOP_BOTTOM\)\($\|[^A-Za-z0-9_]\)/\1StereoMode::\2\3/g'

find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's|StereoMode\:\:StereoMode|StereoMode|g'
2014-01-30 17:58:49 -05:00
Masatoshi Kimura
2df00f12c7 Bug 965961 - Remove unused css selectors for windows versions. r=bz 2014-01-31 07:55:10 +09:00
Ryan VanderMeulen
80b4682516 Merge m-c to inbound. 2014-01-30 16:36:04 -05:00
Ryan VanderMeulen
742d660975 Merge b2g-inbound to m-c. 2014-01-30 16:32:42 -05:00
Ethan Tseng
4fc1d40c03 Bug 962309 - Video RTSP support should be disabled in 1.3. r=sworkman 2014-01-30 08:58:24 +08:00
Alfredo Yang
3aa7145fee Bug 959021 - Rename HAS_AUDIO/HAS_VIDEO and add swap in/out frame data. r=cpearce 2014-01-30 11:06:11 -05:00
Randy Lin
2dd61040f8 Bug 957841 - Test case for MediaRecorder crash [@ mozilla::dom::MediaRecorder::Session::AfterTracksAdded]. r=jsmith 2014-01-29 23:09:46 +08:00
Randy Lin
501eac5dc4 Bug 957841 - MediaRecorder crash [@ mozilla::dom::MediaRecorder::Session::AfterTracksAdded]. r=roc 2014-01-29 23:09:43 +08:00
Rick Eyre
dbde66be6a Bug 965336 - Setting TextTrackCue's Start or End times should set its state to dirty. r=rillian 2014-01-29 12:57:43 -05:00
Rick Eyre
714316e444 Bug 965246 - Integrate bulk updates from vtt.js. r=rillian
Relevant changes for bugs 881976 and 964625.
2014-01-29 09:28:06 -05:00
Ethan Tseng
e3de8a04f3 Bug 951188 - [RTSP][V1.3] No error notification when the RTSP link fails to load. r=sworkman 2014-01-30 10:00:53 +08:00
Karl Tomlinson
f90c19d165 Bug 961996 - restore mForceShutDown check before MediaStreamGraphShutDownRunnable dispatch r=roc
This check was dropped in 1ebe4da27dd5.

--HG--
extra : rebase_source : 495d81cff39f2ee074effe6bef06caf6b2ac3161
2014-01-30 18:50:17 +13:00
Ryan VanderMeulen
e1f38bbe7d Backed out changeset 15a8086a2431 (bug 963621) for Android bustage. 2014-01-30 14:01:58 -05:00
Edwin Flores
0769ca6dd3 Bug 963621 - Stop passing kClientNeedsFramebuffer into Qualcomm OMXCodec. r=doublec
Qualcomm's OMXCodec implementation interprets the kClientNeedsFramebuffer flag
to mean that we only want a thumbnail. Thus, it returns only one frame and then
returns EOS.

This patch adds a Qualcomm-specific hack to not pass their decoder this flag.
2014-01-30 13:26:54 -05:00
Birunthan Mohanathas
89f96b243e Bug 828300 - Replace NS_ARRAY_LENGTH with mozilla::ArrayLength/MOZ_ARRAY_LENGTH. r=ehsan 2014-01-30 13:26:54 -05:00
Robert O'Callahan
dad3d89cd4 Bug 941873. Blocked AudioNodeStreams should not run processing. r=karl
--HG--
extra : rebase_source : 122b7c48df42f78e9f7d2b8176ff6bc1ca14ad28
2014-01-15 23:07:30 +13:00
Vladimir Vukicevic
da5ce4a38a b=738872; implement WebGL OES_texture_half_float; part 3 - desktop GL compat; r=jgilbert 2014-01-27 13:30:33 -05:00
Vladimir Vukicevic
63cb3e650f b=738872, implement WebGL OES_texture_half_float; part 2 - core impl; r=jgilbert 2014-01-23 16:47:37 -05:00
Robert O'Callahan
7497b4412f Bug 952893. Part 3: Tighten TimeVarying invariants so that GetAt always returns an end time when the value actually changes. r=padenot 2014-01-16 00:13:08 +13:00
Robert O'Callahan
d4f02e9853 Bug 952893. Part 2: When all streams in the MSG are blocked, allow the MSG to suspend indefinitely and pause AudioStream outputs while suspended. r=padenot 2014-01-16 00:13:07 +13:00
Robert O'Callahan
5a93b0d89d Bug 952893. Part 1: Block the AudioDestinationNode when it's the only node in the AudioContext. r=padenot,karlt 2014-01-16 00:08:20 +13:00
Rick Eyre
b0655e013f Bug 918289 - Remove video sources from MediaElements in TextTrack tests where they are not needed. r=cpearce 2014-01-27 12:13:16 -05:00
Terrence Cole
3a18230492 Bug 963738 - Fix some false positives in the Array analysis; r=jonco 2014-01-28 12:05:35 -08:00
Ryan VanderMeulen
449e0aabd1 Merge b2g-inbound to m-c on a CLOSED TREE. 2014-01-29 15:37:19 -05:00
Ryan VanderMeulen
733397089c Backed out changesets ac4e6f145b9a, 91c572ac5ee1, f501606dc1d3, and 15fc5d1cb10e (bug 952893) for test failures on a CLOSED TREE. 2014-01-29 14:34:08 -05:00
Paul Adenot
4d185812e3 Bug 952893 - Null-check mStream in AudioDestinationNode::SetIsOnlyNodeForContext as it can be called during CC, on a CLOSED TREE.
--HG--
extra : rebase_source : 20893fd4bba9a92c71a3e205e58dc03e6f2958dd
2014-01-29 19:09:39 +01:00
JW Wang
97f13c1a91 Bug 910903 - Stop requesting data when count >= 30 to prevent the main thread from starving the encoding thread. r=jsmith 2014-01-28 13:41:11 +08:00
John Lin
30886a7f72 Bug 963502 - [MediaEncoder] OMXAudioEncoder will be out of input buffers if input segment is too big. r=roc 2014-01-29 08:20:55 -05:00
Rick Eyre
ebe73621c8 Bug 861320 - HTMLMediaElement has no textTracks without a <source>. r=rillian 2014-01-27 12:26:50 -05:00
Ryan VanderMeulen
2ae169c64e Merge inbound to m-c. 2014-01-28 16:25:05 -05:00
Neil Deakin
9cab3a8fc4 Bug 941409, add support for an anchor attribute to menus so that the popup can be anchored to a different element than the menu itself, this is used to avoid repositioning the bookmarks toolbar button menu, also changes popups to default to vertical orientation [Australis] r=neil,mconley 2014-01-28 11:28:45 -05:00
Dan Glastonbury
f80e7bac82 Bug 913597 - Remove support for obsolete 'moz-webgl' name for creation of WebGL contexts. r=jgilbert 2014-01-28 05:59:24 +09:00
Paul Adenot
362b4ac9ad Bug 961787 - Buffer more data when using MediaElementAudioSourceNode / mozCaptureStream from a media decoder. r=roc 2014-01-27 19:10:48 +01:00
Dan Glastonbury
b098c3e967 Bug 953221 - Split out DRAW_BUFFER/READ_BUFFER state setup. r=bjacob 2014-01-24 14:02:07 +10:00
Dan Glastonbury
ba8d11d8f9 Bug 953221 - Disable glDrawBuffer/glReadBuffer when no color attachment. r=bjacob
This is mainly for OSX where the OGL version requires this so that the
framebuffer complete checks pass.
2014-01-24 14:01:10 +10:00
Dan Glastonbury
4086562d80 Bug 953221 - Minor erroneous complete check fails. r=bjacob 2014-01-24 13:59:33 +10:00
Dan Glastonbury
3f1115ce41 Bug 948002 - Add extra comments of meaning of GLenum to IsValidFBOXXX calls. r=jgilbert 2014-01-24 16:28:47 +10:00
Dan Glastonbury
9e7275ca42 Bug 948002 - Fix WebGL framebuffer completeness checks. r=bjacob
When changing WebGLTexture::ImageInfo to consistently store GL internal format
instead of format, code that checked for depth textures broke because general
depth component format type was being checked instead of the sized formats.

With :bjacob, we audited the locations of the checks and updated the code to
accept the internal formats by utilizing helper functions that check the
GLenum.
2014-01-24 13:53:53 +10:00
Dan Glastonbury
78c24fc871 Bug 948002 - Remove trailing whitespace. r=jgilbert 2014-01-24 13:52:33 +10:00
Dan Glastonbury
c913854ce2 Bug 948002 - Add functions getExtensionWithKnownPrefixes and getSupportedExtensionWithKnownPrefixes to fix tests that fail to parse. r=bjacob, r=jgilbert 2014-01-10 12:23:56 +10:00
Masatoshi Kimura
806a1ed8bb Bug 959958 - Implement ImageData constructor. r=bz 2014-01-28 22:04:40 +09:00
Ryan VanderMeulen
46f9b852df Merge m-c to inbound. 2014-01-27 15:24:00 -05:00
Ryan VanderMeulen
c1cca309c3 Merge b2g-inbound to m-c. 2014-01-27 15:05:03 -05:00