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
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
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
Eric Faust
c5363b4739
Bug 966044 - Fix unconditional single byte buffer overflow in EbmlComposer::generateHeader(). (r=rillian)
2014-01-30 16:42:00 -08: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
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
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
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
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
Ryan VanderMeulen
46f9b852df
Merge m-c to inbound.
2014-01-27 15:24:00 -05:00
Jacek Caban
895c82db13
Bug 962354 - Fixed cross compilation on case sensitive OSes.
...
--HG--
extra : rebase_source : 1fc397a1fc5086b04f79addf6c162f66b845b991
2014-01-27 19:38:47 +01:00
Shelly Lin
d88b0d14f9
Bug 957439 - Do not assert at Pause or Resume on unsupported input stream. r=roc, r=jsmith
2014-01-27 10:33:00 +08:00
Randy Lin
c99b2ced4f
Bug 891705 - [MediaEncoder] Implement WebM 1.0 container writer. r=giles, r=gps, r=rillian
...
This is an integrated patch which includes:
1. Bug 891705: [MediaEncoder] Implement WebM 1.0 container writer. r=giles, r=gps
2. Bug 950567: [MediaEncoder] Phase-in libmkv library. r=giles
3. bug 883749: Implement Vorbis encoding. r=rillian
4. bug 881840: Implement VP8 track encoder. r=rillian
2014-01-15 14:21:14 +08:00
Ryan VanderMeulen
8dc9129e87
Merge m-c to inbound.
2014-01-23 15:58:06 -05:00
John Lin
b7d8e24543
Bug 961925 - Move MOZ_OMX_ENCODER definition from local moz.build to global configuration file. r=gps
2014-01-23 09:32:32 -05:00
Carsten "Tomcat" Book
535888eb97
merge b2g-inbound to mozilla-central
2014-01-23 10:20:58 +01:00
Chris Pearce
4d39e9748c
Bug 962354 - Create a threadsafe threadpool singleton for media threads. r=kinetik
2014-01-23 17:21:05 +13:00
Chris Pearce
83582bbc3b
Bug 961885 - Rename the enum entries for HTMLTrackElement.readyState, as HTMLTrackElement::ERROR is defined in some other file that can be included in unified builds, causing errors when we add more files to content/media. r=rillian
2014-01-23 17:19:34 +13:00
Ben Kelly
1ac006397f
Bug 961441: Use MallocSizeOf to report decoded-audio memory. r=cpearce r=njn
2014-01-22 22:14:45 -05:00
Alfredo Yang
5e22ba77fc
Bug 959861 - Testcase for fragmented mp4 playback. r=cpearce
2014-01-22 10:50:23 -05:00
Alfredo Yang
2b2a9d250c
Bug 959861 - Check if the media is seekable in MediaOmxReader::ReadMetadata(). r=cdouble
2014-01-22 10:50:23 -05:00
JW Wang
4c6f58a7e3
Bug 916135 - Part 2: Don't call OMXCodec::pause in emulator mode to prevent getting stuck in paused state of OMXCodec. r=cdouble
2013-12-16 16:30:59 +08:00
JW Wang
7d11cdfa16
Bug 916135 - Part 1: Force releasing codec to prevent timeout in waiting for acquiring h264 codec and set the preload attribute to "auto" to prevent timeout in waiting for loadedmetadata event. r=padenot
2014-01-17 13:58:48 +08:00