Commit Graph

21906 Commits

Author SHA1 Message Date
Chris Double
8b2e2abfcc Bug 759948 - libstagefright based media playback doesn't receive ended event when complete on B2G - r=edwin
--HG--
extra : rebase_source : a6450eb3a2fbb2ac67e329fa9ef9f0bd9e801e89
2012-06-01 12:54:52 +12:00
Andreas Gal
3c320eb743 Bug 714408 Part 2 - Media plugin support for libstagefright - r=doublec
--HG--
extra : rebase_source : 308d1aab3cfffbb7ddeb0602a3991565603e6212
2012-06-01 12:54:23 +12:00
Ed Morley
ebcf2f1cc2 Merge mozilla-central to mozilla-inbound 2012-06-01 01:12:32 +01:00
Mats Palmgren
c562445c55 Bug 759788 - Keep the plugin instance owner alive for the duration of DoStopPlugin so that everything gets cleaned up correctly, r=bsmedberg 2012-05-31 08:44:10 -04:00
L. David Baron
edbd83838f Rename nsStyleBorder::GetActualBorderWidth to GetComputedBorderWidth. (Bug 713643, patch 4) r=bzbarsky 2012-05-30 22:19:49 -07:00
Ralph Giles
ab5cec5feb Bug 758833 - Track and trim opus preskip samples - r=doublec
We trim the initial few samples out of the opus decoder,
to give the output time to converge, and to correct for
the encoding delay. Encoders store the delay in the preskip
field of the Ogg encapsulation header.

The previous code to do this was a hack based on the granulepos
values and could fail on some inputs. Instead, keep a count
of how many samples we want to trip, and remove packet data
until that value matches the preskip value from the header.

The value is set to the preskip value from the header when
the decoder is initialized. We also need to do this after
seek. To do this we add a specialized nsOggReader::ResetDecode
method which takes a boolean argument, set to true when
we are seeking to the start of the stream. In that case,
the method resets the skip count.

There is still an issue after general seeks. The spec recommends
trimming a full 80 ms (3840 frames) to allow the decoder to fully
settle from the previous state. It's tricky to do this inside
nsOpusState because it doesn't know where it is in the stream.

Also add some debug output to track the decode behaviour.
2012-05-31 16:03:14 +12:00
Abhishek Bhatnagar
9390e07514 Bug 500784 - Video/Audio files over 2^31 bytes now return proper durations; r=cpearce
--HG--
extra : rebase_source : 219872db85890a3358456dde226a29595e738f1b
2012-05-31 14:33:15 +12:00
Chris Double
4cd33c92cc Bug 758481 - When seeking in an unbuffered range after having ended a media, networkState is NETWORK_IDLE r=chris.double
--HG--
extra : rebase_source : e62887187ed20ad6e832bd0211c50392759bb321
2012-05-31 14:30:23 +12:00
Jeff Gilbert
f8f460ebb2 Bug 750527 - Rebind program if current program is relinked - r=bjacob 2012-05-30 17:00:38 -07:00
Boris Zbarsky
464164e820 Backed out changeset f96e0f078b49 (bug 748266) because the test suite is bogus and we're failing a crashtest too. 2012-05-31 16:20:49 -04:00
Boris Zbarsky
6af95f383e Bug 748266. Switch the WebGL canvas context to new DOM bindings. r=peterv 2012-05-31 14:16:48 -04:00
Timothy B. Terriberry
be06d81459 Bug 751219 - Support header gain in Opus files, r=kinetik 2012-05-31 11:13:17 -07:00
Timothy B. Terriberry
87b5e2c9ef Bug 759612 - Update granule position accounting for Opus, r=kinetik 2012-05-31 11:13:17 -07:00
Timothy B. Terriberry
c59add4dfa Bug 759399 - Handle preroll correctly during an Opus seek, r=doublec 2012-05-31 11:13:17 -07:00
Timothy B. Terriberry
61396f0581 Bug 759490 - Use Opus streams when seeking in Ogg, if present, r=doublec 2012-05-31 11:13:11 -07:00
Mounir Lamouri
4236f1b41c Bug 754668 - Prevent nsTextEditorState to mark the value as changed when it has been requested otherwise. r=ehsan 2012-05-31 18:01:30 +02:00
Bobby Holley
ee210f578c Bug 760070 - Make the __exposedProps__ warning appear as an error. r=bz 2012-05-31 16:28:09 +02:00
Robert Longson
51ba38af37 Bug 759124 - Implement useCurrentView. r=dholbert 2012-05-31 11:39:12 +01:00
Jeff Gilbert
3df70b7320 Bug 746740 - GetProgramInfoLog should return null on GL error - r=bjacob 2012-05-30 16:05:37 -07:00
Jason Orendorff
a58e6dbbc5 Bug 753885 - Part 2: Add JSOPTION_ALLOW_XML, making E4X support optional per-context. r=Waldo. 2012-05-30 15:05:59 -05:00
Jason Orendorff
e2d3e44740 Bug 753885 - Part 1: Rename JSOPTION_XML to JSOPTION_MOAR_XML, and other cleanups. r=Waldo. 2012-05-30 15:05:58 -05:00
Shriram Kunchanapalli
5b9a95ea6a Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt 2012-05-30 18:43:39 +01:00
Ed Morley
6cf4e96cb1 Merge mozilla-central to mozilla-inbound 2012-05-30 18:24:56 +01:00
Gervase Markham
68d38d677f Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Boris Zbarsky
702a4a496f Bug 743906 part 2. Use Optional<> for optional arguments that don't have default values. r=peterv 2012-05-29 23:45:18 -04:00
Benoit Jacob
d7fc70757e Bug 759178 - WebGL extension strings should be case-insensitive - r=jgilbert 2012-05-30 08:30:32 -04:00
Benoit Jacob
a242610fe1 Bug 745292 - Log non-empty shader/program infoLogs as WebGL (JS) warnings - r=jgilbert 2012-05-29 14:44:31 -04:00
Benoit Jacob
64d27bf023 back out 90292e7ec6fb for mochitest-1 orange 2012-05-29 16:33:29 -04:00
Benoit Jacob
8ecdc5470a Bug 758404 - Use LinkedList instead of arrays for WebGLContext to track WebGL objects - r=jgilbert 2012-05-29 14:44:31 -04:00
Benoit Jacob
cd15023a4f Bug 745292 - Log non-empty shader/program infoLogs as WebGL (JS) warnings - r=jgilbert 2012-05-29 14:44:31 -04:00
Robert O'Callahan
a745675ad1 Bug 757262. Try bailing out of plugin instantiation if we're in an inactive document. r=josh 2012-05-30 01:13:36 +12:00
Robert O'Callahan
85e5c636c9 Bug 758583. Must acquire SourceMediaStream lock before MediaStreamGraph lock. r=jesup 2012-05-29 21:10:45 +12:00
Ed Morley
4545ace2d5 Merge mozilla-central to mozilla-inbound 2012-05-28 14:15:52 +01:00
Ed Morley
6fa10c5729 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-28 14:13:56 +01:00
Robert O'Callahan
6cb457b967 Bug 752796. Ensure that stream-finished notifications aren't accidentally dropped. r=jesup 2012-05-28 23:58:34 +12:00
Olli Pettay
66c92d82af Bug 758401 - Add a way to get message manager from docshell, r=jst 2012-05-28 12:27:25 +03:00
Alexander Surkov
18ec1bca3d Bug 757757 - Add dexpcomed version of GetAnonymousElementByAttribute, r=tbsaunde, bz 2012-05-28 13:52:53 +09:00
Kyle Huey
288f3e1cd1 Merge m-c to b-s. 2012-05-26 14:22:26 -07:00
Takanori MATSUURA
92faf33a5c Bug 751521 - Separate pixman detection from cairo. r=glandium 2012-05-26 08:44:00 +02:00
Mats Palmgren
92ef6ab5ca Bug 719117 - Use down-cast instead of separate member with correct type. r=roc 2012-05-26 02:43:44 +02:00
Mats Palmgren
2168eeae39 Bug 719117 - Fix bug 724781 by preventing reentry to DoStopPlugin with a flag. part 2/2, r=bsmedberg 2012-05-26 00:34:11 +02:00
Mats Palmgren
aba171e027 Bug 719117 - Backout bug 724781. part 1/2, r=bsmedberg 2012-05-26 00:34:11 +02:00
Kyle Huey
1a61e70130 Bug 757284: Restore Blob.mozSlice, with a deprecation warning. r=sicking 2012-05-25 11:44:38 -07:00
Ms2ger
65aa2a4593 Merge m-c to m-i. 2012-05-25 11:15:32 +02:00
Ms2ger
0e2241b478 Bug 756066 - Make StorageEventInit.key nullable; r=mayhemer 2012-05-25 09:18:31 +02:00
Ms2ger
1888f8087e Bug 756896 - Don't include xpcprivate.h in FileIOObject.cpp; r=khuey 2012-05-25 09:18:31 +02:00
Ms2ger
005d6f3a12 Bug 757365 - Don't use uint8 in DocumentRenderer{Parent,Child}.cpp; r=bjacob 2012-05-25 09:18:30 +02:00
Boris Zbarsky
1981fc313b Bug 755636 part 1. Convert sequence argument codegen to dom::Sequence. r=peterv 2012-05-25 01:08:22 -04:00
Boris Zbarsky
cd87a47887 Bug 749864. Codegen for typed array and arraybuffer arguments. r=peterv 2012-05-25 01:07:03 -04:00
Bobby Holley
cdc8708f89 Bug 758563 - Warn when __exposedProps__ is missing. r=bz 2012-05-25 18:42:40 +02:00