Commit Graph

30521 Commits

Author SHA1 Message Date
Chris Pearce
365494f8b6 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
29b03a5bc6 Bug 967357 - Null check MediaResource principal to prevent assertion spam. r=roc 2014-02-05 10:34:15 +13:00
Ralph Giles
9dbb799408 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
Ben Kelly
3e4230f663 Bug 960873: Part 1: Refactor MediaDecoderReader.h into separate headers. r=cpearce 2014-02-03 20:49:21 -05:00
Phil Ringnalda
35750ea4ab 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
eb9c03b9e5 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
81d44a0834 Bug 946585 - Change how the form element pointer affects parsing template elements. r=hsivonen 2014-01-31 15:03:24 -08:00
Kartikaya Gupta
2bd7b75fd2 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
d1131a8cd6 Bug 965990 - Allow URLSearchParams objects to be associated with multiple URLs, r=ehsan 2014-02-03 16:48:38 +00:00
Boris Zbarsky
b4b3e1de20 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
0ef9824fdd 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
436cbd37c0 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
28ff7ecf08 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
6db40724cb 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
68583ab308 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
c4bc98ba46 Bug 964197 - Add frame duration for synchronization. r=cpearce 2014-02-02 20:57:41 -05:00
Phil Ringnalda
7f4dcbf266 Merge m-i to m-c 2014-02-02 17:43:48 -08:00
Phil Ringnalda
3160e5282f 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
Jonathan Watt
dc7188dcc2 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
2a8a0145a1 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
cee4476a72 Merge m-c to inbound. 2014-02-01 17:22:56 -05:00
Ryan VanderMeulen
dff85250fc Merge b2g-inbound to m-c. 2014-02-01 17:22:20 -05:00
Alfredo Yang
3b313158d7 Bug 961618 - Reduce memory usage by swapping audio/video array pointer. r=cpearce 2014-01-31 21:51:27 -05:00
Ryan VanderMeulen
6fe9e4ea3f Merge inbound to m-c. 2014-01-31 21:14:13 -05:00
Ryan VanderMeulen
e886ef9506 Backed out changeset a6094047ffca (bug 965440) for B2G mochitest crashes.
CLOSED TREE
2014-01-31 15:42:31 -05:00
Chris Pearce
b6b377ce43 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
a0a4fc132b Bug 963901 - Fix variable format error. r=sstamm 2014-01-31 21:54:48 -05:00
Jonathan Watt
dac59aae69 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
653d077241 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
956481ebd9 Bug 951770 - Fix missing semicolon. r=bustage CLOSED TREE 2014-01-31 23:10:46 -08:00
Ralph Giles
132580f3a8 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
Edwin Flores
29e0ef6a32 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
ab4411fee4 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
cd2bbf3132 Bug 966044 - Fix unconditional single byte buffer overflow in EbmlComposer::generateHeader(). (r=rillian) 2014-01-30 16:42:00 -08:00
Jan Gerber
b559ece367 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
3da73d5b08 Bug 962767 - Ensure swapped frameloaders have correct message manager parent (r=smaug) 2014-01-31 10:45:54 -08:00
Benoit Jacob
fed4a439e3 Bug 965440 - VideoData::Create should use gralloc where possible - r=doublec 2014-01-31 13:23:39 -05:00
Benoit Jacob
757acc5d48 Bug 964442 - Make CreateImage just take a plain format parameter - r=jrmuizel 2014-01-30 17:58:51 -05:00
Benoit Jacob
684ce17489 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
6a981b248b Bug 965961 - Remove unused css selectors for windows versions. r=bz 2014-01-31 07:55:10 +09:00
Ryan VanderMeulen
3c59d309e4 Merge m-c to inbound. 2014-01-30 16:36:04 -05:00
Ryan VanderMeulen
997a649ab0 Merge b2g-inbound to m-c. 2014-01-30 16:32:42 -05:00
Ethan Tseng
a3abf4db62 Bug 962309 - Video RTSP support should be disabled in 1.3. r=sworkman 2014-01-30 08:58:24 +08:00
Alfredo Yang
18845b2ec6 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
70966ac27f Bug 957841 - Test case for MediaRecorder crash [@ mozilla::dom::MediaRecorder::Session::AfterTracksAdded]. r=jsmith 2014-01-29 23:09:46 +08:00
Randy Lin
0c268a1465 Bug 957841 - MediaRecorder crash [@ mozilla::dom::MediaRecorder::Session::AfterTracksAdded]. r=roc 2014-01-29 23:09:43 +08:00
Rick Eyre
4bab919aa0 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
f5ee3a4fbe 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
c1082ab70e 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
da30bcc53b 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