Граф коммитов

7016 Коммитов

Автор SHA1 Сообщение Дата
Ralph Giles b9106558db Bug 1282963 - Share CodecDelay prepend code. r=kinetik
Both the WebM and mp4 demuxers need to pack this value into
the the CodecSpecificConfig, so move the shared implementation
to the OpusDecoder, near where it is unpacked so the two can
be kept in sync.

MozReview-Commit-ID: 2pQaruJoAWr
2016-06-29 15:49:04 -07:00
Ralph Giles e9e5b9c48f Bug 1267887 - Log short opus codec config blocks. r=kinetik
MozReview-Commit-ID: 8Kgj1cytJtE
2016-06-29 09:13:17 -07:00
Ralph Giles 72ecfe6999 Bug 1267887 - Support Opus in mp4 with the rust demuxer. r=kinetik
Update C++ caller code for for mp4parse 0.4.0. Now feeds data through
a read callback in mp4parse_io.

Hook up the GetTrackInfo method to the rust demuxer results.

Prefer rust demuxer only if there's an Opus track.

Fill in audio and video track metadata. Pass audio codec_specific_config
to the decoder.

With this change sample.mp4 plays.

MozReview-Commit-ID: F8xwWPZZBfZ
2016-06-29 09:12:45 -07:00
Ray Lin e1b4b9465e Bug 985915 - Vertically move up closed caption to not overlap control bar. r=rillian
MozReview-Commit-ID: HzJ3ppbmQnk

--HG--
extra : rebase_source : dda5febc3c799c375e4dbe39cf52f96504740b55
2016-06-27 11:22:15 +08:00
Phil Ringnalda 3f1ee7a2b6 Backed out 7 changesets (bug 1267887) for gtest failures and crashes and Marionette crashes on Windows 8
CLOSED TREE

Backed out changeset e7e34b315a0a (bug 1267887)
Backed out changeset 9128f4f94032 (bug 1267887)
Backed out changeset c697af8c555a (bug 1267887)
Backed out changeset 8f1c1957ce80 (bug 1267997)
Backed out changeset 3b1177fd30cb (bug 1267887)
Backed out changeset 72ea61f4f820 (bug 1267887)
Backed out changeset e19c4c4eac51 (bug 1267887)
2016-06-28 21:40:09 -07:00
Ralph Giles 4dc3887b7d Bug 1267887 - Log short opus codec config blocks. r=kinetik
MozReview-Commit-ID: 8Kgj1cytJtE
2016-06-28 20:33:40 -07:00
Ralph Giles 711f285ffd Bug 1267887 - Support Opus in mp4 with the rust demuxer. r=kinetik
Update C++ caller code for for mp4parse 0.4.0. Now feeds data through
a read callback in mp4parse_io.

Hook up the GetTrackInfo method to the rust demuxer results.

Prefer rust demuxer only if there's an Opus track.

Fill in audio and video track metadata. Pass audio codec_specific_config
to the decoder.

With this change sample.mp4 plays.

MozReview-Commit-ID: F8xwWPZZBfZ
2016-06-28 20:33:32 -07:00
Nathan Froyd 8b24c9d51c Bug 1281626 - part 3 - make various things accept already_AddRefed<nsIRunnable>; r=khuey
All of these things are called with the result of
NS_NewRunnableFunction, so we need to transition them over to a world
where NS_NewRunnableFunction returns something different.
2016-06-28 22:24:54 -04:00
Bryce Van Dyk 2de747d99b Bug 1257716 - Add WebM Clearkey media to eme test list. r=cpearce
MozReview-Commit-ID: LYBmDUvboMk

--HG--
extra : rebase_source : e7715c57a1f6181c99b9e815c5fbf37f1f1410c6
2016-05-25 11:32:54 +12:00
Bryce Van Dyk 3e3f638e3e Bug 1257716 - Handle clearkey encrypted WebMs. r=cpearce
Handle encrypted WebM streams for the clearkey case. Add checking for the
widevine case, though these should currently fail, as not all of the plumping
is in place for widevine.

MozReview-Commit-ID: 5d9fvc5IkZF

--HG--
extra : rebase_source : 9baad2afd7778c350c404c72dcd81426092aa908
2016-06-08 14:07:09 +12:00
Carsten "Tomcat" Book b043df6724 Backed out changeset a2c87cb66cce (bug 1281115) for causing frequent timeouts in test_ResumeAfterClearing_mp4.html 2016-06-28 13:53:10 +02:00
Alfredo Yang dc6aa95260 Bug 1281115: add SetSeekThreshold for ffmpeg. r=jwwang
MozReview-Commit-ID: 4Vfkz0dGgEk

--HG--
extra : rebase_source : ccb706cc7ff0c7389c43c785aaad3de3bafaa6fd
2016-06-21 16:13:57 +08:00
Dan Glastonbury 3224020227 Bug 1281632 - P6: Extract parameters to GMPAudioDecoder into struct. r=gerald
MozReview-Commit-ID: 7UXY5uEQUtj

--HG--
extra : rebase_source : 1f947526ab0bfafe8e7859627473ba578cdb4f87
2016-06-28 17:56:56 +12:00
Dan Glastonbury 55f422c73a Bug 1281632 - P5: Extract parameters to GMPVideoDecoder into struct. r=gerald
MozReview-Commit-ID: UICBFgDHBm

--HG--
extra : rebase_source : b411444ccc7fce9587fa43a0dcefac46cfe98486
2016-06-28 17:56:56 +12:00
Dan Glastonbury 8df918b09d Bug 1281632 - P4: Add VideoInfo ctor that takes nsIntSize. r=gerald
MozReview-Commit-ID: 1n4MdfoQtDY

--HG--
extra : rebase_source : bc9a410fb11f7f29c6287e39fd08f86c6a8e390a
2016-06-28 17:56:55 +12:00
Dan Glastonbury 406306643a Bug 1281632 - P3: Move EMEAudioDecoder/EMEVideoDecoder ctors. r=gerald
MozReview-Commit-ID: 1Q90g3ehkXf

--HG--
extra : rebase_source : d9c6fe463e5808ae3c9dd3849cfd5ae807824d95
2016-06-28 17:56:55 +12:00
Dan Glastonbury 5de2ec4fa5 Bug 1281632 - P2: Reduce GMPAudioDecoder/GMPVideoDecoder ctor count. r=gerald
This means we expose fewer constructors, and the definition is in the .cpp file
so changing it won't cause lots of things to recompile.

MozReview-Commit-ID: DY7UCYfOb25

--HG--
extra : rebase_source : b753c87d00cafc897749d9d7a550ee0cccb59ddf
2016-06-28 17:56:55 +12:00
Dan Glastonbury 1b2a65cfc3 Bug 1281632 - P1: Extract creation parameters and pass via struct. r=gerald
Extract all the parameters passed to CreateAudioDecoder/CreateVideoDecoder and
place them into a structure that is passed down to the creation of the actual
decoder, where the relevant parameters can be extracted.

This makes it easier to add more arguments to the Create*Decoder calls in future.

MozReview-Commit-ID: 9LZlcfRVz6A

--HG--
extra : rebase_source : ce3f0c7d0784b96267728697ff5d535ccb8ee7a6
2016-06-28 17:56:55 +12:00
Sotaro Ikeda f35a68e9f9 Bug 1282341 - Add ImageContainer::ClearCachedResources() r=nical 2016-06-27 18:25:01 -07:00
Jan-Ivar Bruaroey cb69f1955e Bug 1281866 - Test gUM's NotReadableError. r=padenot
MozReview-Commit-ID: UrMmhTFvrc

--HG--
extra : rebase_source : 4a6ae459a4f5387b0e418bc230f9d791d28a1520
2016-06-27 10:59:37 -04:00
Jan-Ivar Bruaroey 331e5e1013 Bug 1281866 - Rename gUM's SourceUnavailableError to NotReadableError. r=padenot
MozReview-Commit-ID: 53703E0DLHf

--HG--
extra : rebase_source : 3437b796d90627d4858637e4a26fe3626d07cd3a
2016-06-23 14:08:52 -04:00
bechen 727ebe7fcf Bug 1277192 - Correct the association between Cue and TextTrack. r=rillian
MozReview-Commit-ID: 2B2swKL4iM2

--HG--
extra : transplant_source : %C9%C2%EE%A9%2A%FA%80v%7D%B2s%01%B4%A5%B4%98%F2z%06%D0
2016-06-27 10:41:20 +08:00
Paul Adenot 5e9d303d47 Bug 1269741 - Allow resuming a suspended AudioContext in the same event loop run. r=karlt
MozReview-Commit-ID: L7WlO96d2vh
2016-06-27 14:17:38 +02:00
Paul Adenot a3c568891c Bug 1269741 - Test. r=karlt
MozReview-Commit-ID: 9dl3e5eTOKV
2016-05-04 14:25:52 +02:00
Paul Adenot 05d76a6ef9 Bug 1281408 - Nullcheck `mInputPort` in MediaStreamAudioSourceNode to prevent crashing when getting memory reports after the underlying MediaStream has been destroyed. r=pehrsons
MozReview-Commit-ID: 7OzFPmLVJA5

--HG--
extra : rebase_source : 50af142059a0d45521f42cf00c8f22344ffa72ec
2016-06-22 18:20:46 +02:00
Alfredo Yang b1e6bc8fcb Bug 1282014: check duration when set seek target. r=jwwang
MozReview-Commit-ID: 9ktjaL07sFA

--HG--
extra : rebase_source : 3e80bf8f8b84bb022a3023a40235c14c900cd7bc
2016-06-24 16:00:45 +08:00
Bill McCloskey cb8a9c03a3 Bug 1277705 - Remove waitable_event_watcher (r=dvander) 2016-06-24 13:15:41 -07:00
Michael Layzell 62918c47a1 Bug 1279092 - Wait for the webaudio-node-demise event, r=padenot 2016-06-24 12:49:51 -04:00
JW Wang f7267b13db Bug 1274030 - clean VideoFrameContainer when "xpcom-shutdown" event received. r=cpearce
MozReview-Commit-ID: 92zeiNXSkjf
2016-05-22 21:39:55 +08:00
Karl Tomlinson 8f6ffacf7d bug 1213313 set mComputedValue for each tick so that SetTarget values are calculated correctly r=padenot
from mLastComputedValue.

MozReview-Commit-ID: 28lYzlarp8U

--HG--
extra : rebase_source : fc8aca3718d9857b75cd835ffac1940d20e9d943
2016-06-21 18:02:06 +12:00
Karl Tomlinson 470d8c9d1d bug 1257718 replace bailOut variable with more descriptive timeMatchesEventIndex r=padenot
with the new variable matching the loop exit status of interest.

MozReview-Commit-ID: 8xy5ipo4trp

--HG--
extra : rebase_source : e951177af0699a550a4fb56a6192720207e74cb2
2016-06-21 17:48:31 +12:00
Karl Tomlinson 5d244c17fc bug 1257718 look for new events as time advances r=padenot
|bailout| is reset for each aTime, so that the appropriate events for that
time can be found.

The |eventIndex| loop is adjusted so that, when it is re-entered, it keeps
the current set of events if they are appropriate (instead of advancing
every time it is entered).

|previous| and |next| are now advanced even when passing the last event,
removing the special case when past all events.

MozReview-Commit-ID: 8ZSIzKKGQbd

--HG--
extra : rebase_source : bfc899287abaf12d5cdbfbc1b22d6626ab2299dd
2016-06-21 17:01:18 +12:00
Karl Tomlinson ba91bfca8e bug 1257718 use is() for comparison with more info on failure than ok() r=padenot
MozReview-Commit-ID: 3XgQCq4Gg0S

--HG--
extra : rebase_source : 35a4c0c8a626350f96ba0d2359b28f557235aae4
2016-06-17 14:28:39 +12:00
Karl Tomlinson b92cb079fc bug 1257718 introduce function-scope TimeOf() to simplify templated event time getter calls r=padenot
MozReview-Commit-ID: 7uKqlT2BpcS

--HG--
extra : rebase_source : 2670536946bde0e1a6911bacbaa68d1c636e6455
2016-06-17 10:54:54 +12:00
Karl Tomlinson fc997c1ba1 bug 1257718 rename lastEventId to eventIndex r=padenot
This is not necessarily related to the last event and it is not the
previous event.

MozReview-Commit-ID: 6hhv184BHfg

--HG--
extra : rebase_source : 8013606e27a159bb2598217db40df926539227c6
2016-06-17 09:36:24 +12:00
Karl Tomlinson 9d3453793f bug 1257718 don't export implementation of complex timeline methods r=padenot
This limits recompilation required when modifying the methods, and
makes the public interface easier to read.

MozReview-Commit-ID: Lo2f7xmIdGu

--HG--
rename : dom/media/webaudio/AudioEventTimeline.h => dom/media/webaudio/AudioEventTimeline.cpp
extra : rebase_source : 75586bb320dd2e5606e691919b1c6a7c48c2065f
2016-06-17 05:26:13 +12:00
Karl Tomlinson 6fca9ca1b9 bug 1257718 move comment to within the code path it describes r=padenot
The comment was not necessarily true where it was previously positioned.

MozReview-Commit-ID: FMYkGkmuvVS

--HG--
extra : rebase_source : a6ae6958b9486c92c7830fcc334dac66c643dc29
2016-06-17 03:29:40 +12:00
Paul Adenot 59f0db4ad0 Bug 1281193 - Lock when touching tracks in SourceAudioStreams. r=pehrsons
MozReview-Commit-ID: 2aSS8esq5jq
2016-06-22 17:44:46 +02:00
Eugen Sawin bbee0cfc68 Bug 1278574 - [1.3] Allow only a single media decoder (pair) on Android 4.2 and earlier. r=jya,snorp 2016-06-23 15:26:11 +02:00
Randell Jesup 1a755503cb Bug 1258079 - hold a ref to the GraphDriver during initialization. r=padenot
--HG--
extra : rebase_source : c50ec6121f0304901583766dbeb872b57ffd1e71
2016-06-07 16:26:20 -04:00
Dan Minor 1b06c54c9f Bug 1276483 - Fix WaveShaper when connected from a silent GainNode; r=padenot
MozReview-Commit-ID: CUEO6PDwo5B

--HG--
extra : rebase_source : 4ef158a3bf8f9752d584982b01f0ad3e66ac3fe4
2016-06-20 10:42:50 -04:00
Sotaro Ikeda 4093745a3c Bug 1273612 - Do not enter dormant when MediaDecoder is not paused r=jwwang 2016-06-22 20:45:22 -07:00
JW Wang a96557277e Bug 1281090. Part 5 - don't lock while sending synchronous notification to avoid deadlock. r=gerald.
MozReview-Commit-ID: hOasuXLf5a

--HG--
extra : rebase_source : 74b84944360afcd4ea50390153d071c8e63a74b4
2016-06-21 16:32:13 +08:00
JW Wang f972c4f7af Bug 1281090. Part 4 - prune disconnected listeners more aggressively to avoid hitting the assertion. r=gerald.
MozReview-Commit-ID: 1Z5L3swKBx6

--HG--
extra : rebase_source : 05c147239fa97d754439ce1154d34d29c22542df
2016-06-21 16:31:03 +08:00
JW Wang 67a5e7b845 Bug 1281090. Part 3 - replace MediaDecoderReaderWrapper::Set{Audio,Video}Callback with MediaCallback. r=kaku.
MozReview-Commit-ID: DleK3s5F3sD

--HG--
extra : rebase_source : d4ef0e44106f939ed0695e5eef6df181e9bd0ec9
2016-06-14 11:22:45 +08:00
JW Wang 9c080bdb61 Bug 1281090. Part 2 - add synchronous notification to MediaEventSourceImpl. r=gerald.
MozReview-Commit-ID: 6uWl4IP5iEP

--HG--
extra : rebase_source : 045d7e18650aa4a17c05f35f33fc4fa80e9a030c
2016-06-20 18:31:01 +08:00
JW Wang 7cb843e953 Bug 1281090. Part 1 - rename ListenerMode to ListenerPolicy. r=gerald.
MozReview-Commit-ID: IaRwKRlAoxy

--HG--
extra : rebase_source : 8d438b3c768f2d78b8b62e83e0ab55000d8a7fb7
2016-06-20 16:06:54 +08:00
bechen c2f769c9f2 Bug 1278151 - Fix CompareCuesByTime for the web-platform/meta/html/semantics/embedded-content/media-elements/interfaces/TextTrack/cues.html. r=rillian
MozReview-Commit-ID: KLGqF55DnhI

--HG--
extra : rebase_source : f8e9c2358bab95e332990afdc600148899ee04a7
2016-06-21 16:26:35 +08:00
Kaku Kuo 634475c80e Bug 1278228 - handle VideoOnly seek as an accurate seek; r=jwwang
MozReview-Commit-ID: DsQQB8YX2jm

--HG--
extra : transplant_source : F%A5%29%94%9B/%3C%00p%BA%2Cp%07%BC%E3%DA%16%0A%3Fd
2016-06-21 10:33:32 +08:00
Gerald Squelart 2035e18855 Bug 1271483 - p16. gtest for list-string functions - r=cpearce
Moved templated code to VideoUtils.h, so it can more easily be reused, and
tested.

MozReview-Commit-ID: 3vOvaj5VVhm
2016-05-26 19:24:35 +10:00