Eugen Sawin
9f820944f5
Bug 1194014 - Remove redundant includes. r=jya
2015-08-27 15:03:49 +02:00
Eugen Sawin
fd82895827
Bug 1194014 - Fix erroneous resource lookup and potential element overwrite. r=jya
2015-08-27 15:03:49 +02:00
Eugen Sawin
111366aa0e
Bug 1194014 - Fix MediaResource leaking caused by redundant AddRef. r=jya
2015-08-27 15:03:49 +02:00
JW Wang
3a11d16d89
Bug 1068596
- Pass SHARE_DELETE when opening a file so the file can be deleted without waiting for GC. r=roc
2015-08-27 08:14:07 -04:00
Ryan VanderMeulen
e781da9e2e
Backed out changeset d2e4ce298bab (bug 1068596
) for Windows crashes.
2015-08-27 07:29:06 -04:00
JW Wang
a4ca0f0a72
Bug 1068596
- pass SHARE_DELETE when opening a file so the file can be deleted without waiting for GC. r=roc.
2015-08-27 14:45:41 +08:00
Phil Ringnalda
846cbe0a0b
Back out 30a8392db2c2 (bug 1198094) for mQueuedSamples assertion failures
2015-08-26 22:09:40 -07:00
Jean-Yves Avenard
a0aa8a1873
Bug 1197977: [webm]. Ensure resource length calculation never underflows. r=kinetik
2015-08-27 12:28:20 +10:00
Jean-Yves Avenard
eca657c45c
Bug 1198094: P1. Limit rate at which InputExhausted could be called by mac decoder. r=rillian
2015-08-27 12:28:19 +10:00
Andrea Marchesini
3d6b4abc22
Bug 1184292 - Remove some Wakelock warning messages when unlocking. r=smaug
...
CLOSED TREE
2015-08-26 09:21:00 -04:00
Jan-Ivar Bruaroey
83fcc657d3
Bug 1064223 - Remove support for constraint-like RTCOfferOptions predecessor. r=mt
2015-08-20 21:49:09 -04:00
Jan Gerber
5bf03dc4b8
Bug 1197777 - Use libavformat-ffmpeg.so.56 if available. r=k17e
2015-08-24 14:08:09 +02:00
Andre Natal
b36862c8d5
Bug 1198540 - Add translation of digit 0 to word oh on cmudict. r=kdavis
2015-08-25 20:16:00 -04:00
Chris Peterson
1361a2ef8e
Bug 1197563 - Polyfill __func__ for MSVC 2013 and earlier. r=froydnj
2015-08-20 23:39:18 -07:00
Anthony Jones
1ca1912ccf
Bug 1180101 - Test 0 length atom inside moov; r=jya
2015-08-26 18:13:01 +12:00
Jean-Yves Avenard
3a04e7ce39
Bug 1197075: P4. Reject skip promise on cancellation or shutdown. r=edwin
...
Also remove redundant code.
2015-08-26 15:36:54 +10:00
Jean-Yves Avenard
3a1800ef6d
Bug 1197075: P3. Decode frames ahead of MDSM requesting them. r=edwin
...
This makes the media.*-decode-ahead pref performs more according to its name.
We decode audio and video in advance so a MediaDataPromise can be resolved almost instantly.
Default is 2.
2015-08-26 15:36:54 +10:00
Jean-Yves Avenard
460b51e307
Bug 1197075: P2. Revert "Bug 1171257 - Add force decode ahead to MediaFormatReader r=jya,bholley". r=edwin
2015-08-26 15:36:53 +10:00
Jean-Yves Avenard
f415ad8b09
Bug 1197075: P1. Revert "Bug 1197051 - Don't try to decode ahead while seeking - r=jya". r=edwin
2015-08-26 15:36:53 +10:00
JW Wang
84993d860f
Bug 1198565 - prepend the file name to the token so it is easier to know which file times out. r=jya.
2015-08-26 12:48:57 +08:00
JW Wang
bf924fc6dd
Bug 1198568 - Fix build error in non-unified build for DecodedAudioDataSink.cpp. r=kinetik.
2015-08-26 10:30:56 +08:00
Jean-Yves Avenard
d13905eaa8
Bug 1196696: Always check that track demuxer was successfully created. r=jwwang
2015-08-26 12:50:06 +10:00
Jean-Yves Avenard
8448ac3481
Bug 1196558: Don't assert should output task not be dispatched. r=edwin
...
We are in a racy situation where the task queue could start flushing after we've tested if it was being flushed. We do not care if the task isn't going to be dispatched as we want the frame to be dropped when that happens anyway.
2015-08-26 12:50:06 +10:00
Roman Reiss
553d094e2c
Bug 875573 - Add video/x-m4v mime type. r=kentuckyfriedtakahe
2015-08-21 20:52:19 +02:00
Karl Tomlinson
eb2d7ebb31
bug 1196109 keep memory allocation for mixed input channel pointer array r=padenot
2015-08-20 18:41:25 +12:00
Karl Tomlinson
eef432eb65
bug 1197043 use flags to distinguish between external streams and events r=padenot
...
MediaStreamAudioDestinationNode does not need any main thread events because
mDOMStream provides GetCurrentTime to consumers.
MediaRecoder also does not use main thread current time.
2015-08-13 16:13:34 +12:00
Karl Tomlinson
e1a0259288
bug 1197043 move AudioNodeStream creation to stream class r=padenot
2015-08-12 11:26:24 +12:00
Karl Tomlinson
929cc89e5c
bug 1197043 introduce MediaStreamGraph::AddStream() r=padenot
2015-08-12 11:46:56 +12:00
Karl Tomlinson
6cd5ece601
bug 1197043 rename Add/RemoveStream to Add/RemoveStreamGraphThread r=padenot
2015-08-12 11:29:35 +12:00
Karl Tomlinson
e4c3b24c5c
bug 1197043 remove unnecessary aSampleRate parameter for AudioNodeStream creation r=padenot
2015-08-12 11:04:13 +12:00
Karl Tomlinson
90e01e321b
bug 1198100 remove mNotificationMainThreadRunnable r=baku
...
If AddMainThreadListener() were called multiple times after
mFinishedNotificationSent is set then we'd get some extra NotifyRunnables but
NotifyMainThreadListeners() clears mMainThreadListeners anyway so we still get
only one notification per listener.
mNotificationMainThreadRunnable is an unnecessary optimization, so better not
to add storage to every MediaStream.
2015-08-24 11:54:24 +12:00
Benjamin Chen
ef567f9a1f
Bug 762774 - Increase the timeout and reduce the testcase loop times. r=jwwang
2015-08-20 18:05:28 +08:00
JW Wang
f47a4c441b
Bug 1196112 - Part 2: Remove DecodedStream::mMonitor. r=roc
2015-08-24 21:05:32 +08:00
JW Wang
1c35dd00db
Bug 1196112 - Part 1: Ensure all members except |mShuttingDown| and |mOutputStreamManager| are accessed on the worker thread only. r=roc
2015-08-24 21:05:22 +08:00
Ryan VanderMeulen
5fab0a5ef7
Backed out changesets b2eb913e58c9 and c678e1317fa0 (bug 1196112) for suspicion of causing bug 1197977.
2015-08-24 16:44:14 -04:00
Jean-Yves Avenard
8c3fa84bb5
Bug 1197664: Report the total number of decoded frames. CLOSED TREE r=kentuckyfriedtakahe
2015-08-24 23:46:35 +10:00
Jean-Yves Avenard
ad331ffb64
Bug 1195073: [MSE] P7. Determine a WebM Media Segment end as early as available information permits. r=kinetik
...
Most cluster contains information about their size. When known, we don't need to wait until the next media segment is received to determine its size.
2015-08-24 23:13:50 +10:00
Jean-Yves Avenard
efa9eb4a99
Bug 1195073: [webm] P6. Calculate cluster's end offset if its size is known in advance. r=kinetik.
...
This allows to detect the end of a webm media segment without having to wait for the start of a new one.
Also record where an init segment (EBML) starts as this will be required by the WebM ContainerParser.
2015-08-24 23:13:49 +10:00
Jean-Yves Avenard
948ffb0e02
Bug 1195073: [MSE] P5. Detect out of order appends and recreate demuxer. r=gerald
...
The webm demuxer will only handle data where frames's a monotonically increasing.
2015-08-24 23:13:49 +10:00
Jean-Yves Avenard
aabee8c31a
Bug 1195073: [MSE/webm] P4. Limit nestegg reads to the last block's boundaries. r=kinetik
...
This prevent entering into an unrecoverable error state when parsing incomplete data as often seen with MSE.
2015-08-24 23:13:48 +10:00
Jean-Yves Avenard
f5a3b94e33
Bug 1195073: [webm] P3. Initialize members. r=kinetik
2015-08-24 23:13:48 +10:00
Jean-Yves Avenard
7414edb779
Bug 1195073: [webm] P2. Add WebMBufferedState::GetLastBlockOffset method. r=kinetik
...
MSE may input partial media segment, which could cause the WebMDemuxer and libnestegg to error upon encountering an incomplete block which can't be recovered from.
this will allow to limit read to known complete blocks.
2015-08-24 23:13:47 +10:00
Jean-Yves Avenard
c225b5af8d
Bug 1195073: [MSE/webm] P1. Detect individual webm clusters. r=kinetik
...
WebMContainerParser was incorrectly reporting webm blocks rather than clusters, causing the webm demuxer to later fail to parse the remaining data.
2015-08-24 23:13:47 +10:00
JW Wang
e9b8009bb0
Bug 1196112. Part 2 - Remove DecodedStream::mMonitor. r=roc.
2015-08-24 21:05:32 +08:00
JW Wang
b97c645e7d
Bug 1196112. Part 1 - ensure all members except |mShuttingDown| and |mOutputStreamManager| are accessed on the worker thread only. r=roc.
2015-08-24 21:05:22 +08:00
JW Wang
c3779d12d4
Bug 1194112. Part 6 - add a test case to test the exclusive mode. r=kinetik.
2015-08-24 10:38:42 +08:00
JW Wang
d1c97f787d
Bug 1194112. Part 5 - remove dead code. r=kinetik.
2015-08-24 10:38:37 +08:00
JW Wang
060b233cbe
Bug 1194112. Part 4 - reimplement Listener/ListenerImpl to support Move. r=kinetik.
2015-08-24 10:38:33 +08:00
JW Wang
08411d1da9
Bug 1194112. Part 3 - use perfect forwarding in MediaEventProducer::Notify() so MediaEventSource can decide whether to copy or move according to its ListenerMode. r=kinetik.
2015-08-24 10:38:28 +08:00
JW Wang
9b91ec3bcf
Bug 1194112. Part 2 - small code refactoring to reduce typing. r=kinetik.
2015-08-24 10:38:24 +08:00