Nicholas Nethercote
d0c4a9db1b
Bug 1208300 (part 4) - Remove gfxRGBA and some related things. r=jwatt.
...
Hooray!
--HG--
extra : rebase_source : d691b55eef5a8655aa98b81b5398452a5ebe860d
2015-09-24 19:24:16 -07:00
Jean-Yves Avenard
9323ac2f6a
Bug 1208799: [webm] Use first track found. r=kinetik
2015-09-29 11:37:14 +10:00
Jean-Yves Avenard
33e5945370
Bug 1204407: P2. Remove no longer required MediaDataDemuxer APIs. r=cpearce
2015-09-16 18:14:15 +10:00
Jean-Yves Avenard
71c5c9a7bf
Bug 1204419: P4. Remove MediaDataDemuxer API no longer used. r=cpearce
2015-09-16 18:14:12 +10:00
Jean-Yves Avenard
82279827e6
Bug 1204419: P3. Remove now unused MediaDecoderReader functions. r=cpearce
2015-09-16 18:14:12 +10:00
Jean-Yves Avenard
b3c3e04b18
Bug 1204419: P1. Fix webm headers. r=kinetik
2015-09-16 18:14:10 +10:00
Jean-Yves Avenard
5264765a6e
Bug 1204776: P1. Have the PlatformDecoderModules use their own log. r=cpearce
...
Stop using MP4Demuxer.
2015-09-16 12:26:03 +10:00
Jean-Yves Avenard
89ddcfa7d2
Bug 1203367: Ensure WebMBufferedState is only used after reading metadata. r=kinetik
...
We also now limit the use of the WebMBufferedState for calculating the buffered range and seeking on buffered data.
2015-09-14 19:06:50 +10:00
Jean-Yves Avenard
581a68abf1
Bug 1199518: [webm] P2. Properly determine next keyframe time. r=kinetik
2015-09-12 20:53:25 +10:00
Jean-Yves Avenard
5cf23489c2
Bug 1199518: [webm] P1. Have WebMDemuxer use its own logger. r=kinetik
2015-09-12 20:53:24 +10:00
Nathan Froyd
9157524ebc
Bug 1202474 - improve refcounting behavior of webm decoders; r=kinetik
...
We can remove refcounted things from deques without unnecessary refcounting.
2015-09-07 20:36:47 -04:00
Jean-Yves Avenard
268aac6476
Bug 1199878: [webm] P2. Hold one frames for which the duration can't be known or estimated. r=kinetik
2015-09-01 10:47:07 +12:00
Nicholas Nethercote
f44287005f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Jean-Yves Avenard
549614ffc0
Bug 1197125: [webm]. Don't load the entire webm in RAM. r=kinetik
...
Instead we parse it in chunks of 1MiB max.
2015-08-28 14:06:35 +10:00
Jean-Yves Avenard
49a576c670
Bug 1199032: [webm] P1. Explicitly differentiate WebM usage for mediasource. r=kinetik
...
Relying on the data being fully buffered or not turned out to not be such a great idea.
2015-08-28 14:06:33 +10:00
Jean-Yves Avenard
47be293ebc
Bug 1197977: [webm]. Ensure resource length calculation never underflows. r=kinetik
2015-08-27 12:28:20 +10:00
Jean-Yves Avenard
de9d322fe5
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
e4dff83b7a
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
3cd00ea187
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
83205f837d
Bug 1195073: [webm] P3. Initialize members. r=kinetik
2015-08-24 23:13:48 +10:00
Jean-Yves Avenard
b793485c9a
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
Timothy B. Terriberry
e81c9798f0
Bug 1196353 - Use standard Xiph extradata format to pass headers from demuxers to decoders. r=jya
2015-08-21 10:17:00 -04:00
Jean-Yves Avenard
466c5f2646
Bug 1194884: [webm] P1. Use MediaResourceIndex. r=j^
...
Remove duplicated code.
2015-08-16 11:58:40 +10:00
Aryeh Gregor
15205c18ac
Bug 1179451 - Part 4: Don't pass nsRefPtr&& to functions that want raw pointers. r=froydnj
...
--HG--
extra : rebase_source : d25c43a593a72615259e39ae053376f261aa55ad
2015-08-13 15:22:48 +03:00
Jean-Yves Avenard
9baf704f1b
Bug 1190238: P3. Do not loop calling MediaResource::Read or ReadAt, let MediaResourceIndex do it for us. r=cpearce
...
This allows to remove a fair amount of duplicated logic.
Most of it is in obsoleted code though.
2015-08-13 15:27:10 +10:00
Jean-Yves Avenard
b55f0cf63a
Bug 1190238: P1. Remove MediaResource::Read/Seek. r=cpearce
...
This functionality is now replaced with a dedicated new MediaResourceIndex class.
This allows for concurrent Read/Seek use of the MediaResource without having side effects.
2015-08-13 15:27:09 +10:00
Bobby Holley
bdf89c24e4
Bug 1190495 - Separate FlushableTaskQueue into its own file. r=cpearce
...
This thing is garbage, and I don't want to hoist it into XPCOM.
2015-08-11 08:55:18 -04:00
Jean-Yves Avenard
c74d906393
Bug 1146086: Properly marking overridden member with override keyword. v2. a=bustage
2015-08-11 16:42:42 +10:00
Jean-Yves Avenard
9545c5cfd6
Bug 1146086: Properly marking overridden member with override keyword. a=bustage
...
Interesting that it was never picked up, until only one was done.
2015-08-11 16:26:20 +10:00
Alfredo Yang
8c59fda383
Bug 1146086: use promise to Init() in PlatformDecoderModule. r=jya,r=cpearce
2015-08-11 14:09:12 +10:00
Chris Pearce
8ded1472c3
Bug 1190252 - Remove use of mozilla\/Tokenizer from GMPChild so bug 1190252 can be uplift to 41. r=gerald
2015-08-11 10:27:41 +12:00
Jan Gerber
833434e663
Bug 1185792: [webm] P1. Make MediaInfo.mFrame nsIntRect for visible area. r=jya
2015-08-07 19:31:38 +10:00
Jean-Yves Avenard
8c8e3b2a70
Bug 1190258: P1. Use getter to access MediaRawData mData and mSize member. r=cpearce
2015-08-06 18:48:44 +10:00
Bobby Holley
c4645a718b
Bug 1190496 - Namespace the SharedThreadPool.h include. r=cpearce
2015-08-04 14:00:25 -07:00
Jan Gerber
bc5430d2fd
Bug 1185792: [webm] P1. Don't clear mNeedReIndex if GetCachedRanges is emtpy. r=jya
2015-07-30 15:10:05 +10:00
Jean-Yves Avenard
d614b68bdf
Bug 1183888: Report empty buffered ranges unless we have a start time. r=bholley
2015-07-24 23:02:20 +10:00
Alfredo Yang
8393a2233e
Bug 1163486 - Remove MP4Reader. r=jya
2015-07-21 02:48:00 +02:00
Carsten "Tomcat" Book
de3872af29
Backed out changeset 1704ea727e81 (bug 1163486) for at least b2g bustage
2015-07-21 08:42:54 +02:00
Alfredo Yang
23c919b20e
Bug 1163486 - Remove MP4Reader. r=jya
2015-07-20 19:25:00 +02:00
Jan Gerber
8f71a8484f
Bug 1034081 - Never seek before startTime. r=rillian
...
Only adjust seek target up to startTime
--HG--
extra : rebase_source : 1154392a32c97b227f6293be06cbe1a31ab960e0
2015-07-14 05:59:00 -07:00
Jan Gerber
7bed9a2be5
Bug 1148102: P7. Hookup WebMDemuxer. r=jya
2015-07-20 17:27:08 +10:00
Jan Gerber
6946238e5e
Bug 1148102: P6. Add WebMDemuxer object. r=jya
2015-07-20 17:27:08 +10:00
Jan Gerber
539c579cdd
Bug 1148102: P4. Split WebMPacketQueue, use nsRefPtr instead. r=jya
2015-07-20 17:27:07 +10:00
Jan Gerber
186d37e9f7
Bug 1148102: P2. Split NesteggPacketHolder from WebMReader. r=jya
2015-07-20 17:27:06 +10:00
Jean-Yves Avenard
8dc9090482
Bug 1148102: P1. Mark WebMBufferedParser refcounting as thread-safe. r=kinetik
...
This is required should we use WebMBufferedParser in a MediaTaskQueue as we don't know which actual thread will actually be used.
2015-07-20 17:27:05 +10:00
Bobby Holley
04eaf4c167
Bug 1184634
- Move various includes into the mozilla namespace. r=gerald
...
I did my a quick best-effort pass to fix up the most egregious ordering
problems. I left some big pre-existing messes alone.
2015-07-16 22:23:18 -07:00
Bobby Holley
997543e6ba
Bug 1184634
- Rename MediaTaskQueue to TaskQueue. r=gerald
2015-07-16 22:23:06 -07:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Bobby Holley
f15bd05ef7
Bug 1179110 - Use a Maybe<> to store start time, rather than using -1 as a sentinel. r=jya
...
This allows us to properly support videos with a negative start time, which
is happening here.
2015-07-02 12:05:17 -07:00
Bobby Holley
a80e87862b
Bug 1175768 - Use mirroring for buffered ranges. r=jya
2015-06-27 01:19:13 -07:00