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
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
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
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
Phil Ringnalda
e4e5b2d6eb
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
f2c8d5b7a6
merge b2g-inbound to mozilla-central
2014-02-05 13:23:25 +01:00
Ben Kelly
41fc4101cf
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
13e6e8f7be
Bug 960873: Part 6: Make DirectShow use AudioCompactor. r=cpearce
2014-02-04 23:10:43 -05:00
Ben Kelly
82e0901439
Bug 960873: Part 5: Make gstreamer use AudioCompactor. r=cpearce
2014-02-04 23:10:43 -05:00
Ben Kelly
afd768e3f3
Bug 960873: Part 4: Make OMX use AudioCompactor. r=cpearce
2014-02-04 23:10:43 -05:00
Ben Kelly
0723cf47be
Bug 960873: Part 3: AudioCompactor gtest unit tests. r=cpearce
2014-02-04 23:10:43 -05:00
Ben Kelly
893e6c69e7
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
3e4230f663
Bug 960873: Part 1: Refactor MediaDecoderReader.h into separate headers. r=cpearce
2014-02-03 20:49:21 -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
Alfredo Yang
c4bc98ba46
Bug 964197 - Add frame duration for synchronization. r=cpearce
2014-02-02 20:57:41 -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
Benjamin Chen
19aa728f9e
Bug 964132 - [RTSP] Fix the cycle reference in RtpsMediaResource. r=sworkman
2014-02-05 10:41:42 +08:00
Paul Adenot
854a7d5d90
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
3ecf8b2128
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
f9a454eedb
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
d68c595747
Bug 962385 - Update PlatformDecoderModule interface to run asynchronously. r=kinetik
2014-02-05 14:29:28 +13:00
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
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
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
Eric Faust
cd2bbf3132
Bug 966044 - Fix unconditional single byte buffer overflow in EbmlComposer::generateHeader(). (r=rillian)
2014-01-30 16:42:00 -08: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
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