Commit Graph
55 Commits
Author SHA1 Message Date
Sotaro Ikeda 851f749dbb Bug 884182 - Prevent incorrect state transition. r=doublec 2013-06-25 20:08:58 -04:00
Robert O'Callahan 68148f334d Bug 882027. Make MediaDecoder::UpdateReadyStateForData always be responsible for calling GetNextFrameStatus when that value is passed to HTMLMediaElement::UpdateReadyStateForData, but keep calling GetNextFrameStatus on the state machine thread to suppress dispatching of redundant runnables when nothing has changed. r=cpearce 2013-06-17 17:15:32 +12:00
Sotaro Ikeda fd8d9a68cd Bug 871485 - Share hw codec between applications/tasks. r=mwu, r=doublec, r=roc 2013-06-10 08:22:05 -04:00
Ryan VanderMeulen 19f19ff152 Backed out changeset 4c129a5676eb (bug 871485) for mochitest-1 failures. 2013-06-07 09:57:05 -04:00
Sotaro Ikeda ca500d17fb Bug 871485 - Share hw codec between applications/tasks. r=mwu, r=doublec, r=roc 2013-06-07 08:15:44 -04:00
Nathan Froyd d80f045a6c Bug 858131 - rewrite FloatingPoint.h to be C++-only instead of C-compatible C++; r+original-author=Waldo 2013-05-01 16:55:13 -04:00
Michael Wu 52f3d84626 Bug 869251 - Disable omx decoder and camera on gonk-JB, r=doublec,glandium 2013-05-02 17:21:22 -04:00
Patrick McManus 50a0ab37d0 Bug 831998 - Make the media canplaythrough estimation less conservative. r=cpearce 2013-05-05 17:02:25 -07:00
Chris Pearce cd3261b05c Bug 847267 - Use DXVA2 to offload H.264 decoding to the GPU on Windows. r=Bas 2013-05-04 22:12:41 +12:00
Chris Pearce 8a8de94101 Bug 862182. r=roc,doublec 2013-05-03 10:59:18 +12:00
Chris Pearce a518ce94ab Bug 862182 - Revert bug 862183 due to frequent orange in 459439 crashtest. CLOSED TREE. r=philor 2013-05-01 13:33:33 +12:00
Chris Pearce 847a41192e Bug 862182 - Hold references to MediaResource in nsRefPtrs. r=roc 2013-05-01 11:23:46 +12:00
Andrew Quartey eb8143d01b Bug 742537 - Remove HTMLMediaElement.initialTime attribute. r=cpearce,doublec 2013-04-01 20:38:54 -04:00
Robert O'Callahan 1a52d8596d Bug 850587. Part 1: Refactor NotifyAutoplayDataReady to CheckAutoplayDataReady and allow autoplay to start on HAVE_CURRENT_DATA if the source is a stream. r=cpearce 2013-03-21 00:11:48 +13:00
Andrea Marchesini f5c317f1cf Bug 841493 - Rename nsHTMLVideoElement to HTMLVideoElement, r=Ms2ger 2013-03-19 13:27:35 +01:00
Jeff Walden dc6bf5f361 Bug 847480 - Convert DeprecatedAbs overloads taking floating point (except for nscoord uses, when nscoord is optionally a floating point type) to Abs. r=Ms2ger 2013-03-05 15:43:44 -08:00
Jeff Walden ae46876880 Bug 847480 - Blindly convert all existing mozilla::Abs users to mozilla::DeprecatedAbs. Individualized conversions to the reformed mozilla::Abs will continue until mozilla::DeprecatedAbs is unused, at which point it will be removed. r=Ms2ger 2013-03-05 15:43:30 -08:00
Paul Adenot f2adce1316 Bug 846687 - Set the transport as non-seekable if the server sends Accept-Ranges, but no Content-Length. r=cpearce 2013-03-01 19:55:01 +01:00
Jeff Walden 8be01906e2 Bug 835542 - Implement mozilla::Abs. r=Ms2ger 2013-02-15 19:55:36 -08:00
Ed Morley 3852bc7893 Backed out changeset 9a0c5073da59 (bug 846687) for test_seek.html failures 2013-03-04 11:25:08 +00:00
Paul Adenot 5a9429445c Bug 846687 - Set the transport as non-seekable if the server sends Accept-Ranges, but no Content-Duration. r=cpearce 2013-03-01 19:55:01 +01:00
Andrea Marchesini 73d94a5873 Bug 841014 - Rename nsTimeRanges.h to TimeRanges.h. r=Ms2ger 2013-03-02 14:14:44 -05:00
Paul Adenot 89be62d71d Bug 845676 - Initialize mPausedForPlaybackRateNull in MediaDecoder constructor to prevent an assertion. r=kinetik 2013-02-27 20:38:11 +01:00
Paul Adenot 14d7dbf640 Bug 844951 - Setting playbackRate and mozPreservesPitch before the decoder creation should work. r=kinetik 2013-02-26 09:52:23 +01:00
Robert O'Callahan b390ec7397 Bug 804387. Part 1.5: Clean up main-thread MediaStream event listeners. r=jesup
There is no need for these to be independent objects in general and we
don't need to addref/release them. We can just require the caller to
remove them before they die.
We can also save some refcount churn by having
DispatchToMainThreadAfterStreamStateUpdate take already_AddRefed.
2013-02-04 23:04:24 +13:00
Ehsan Akhgari 1fbf762528 Backed out 14 changesets (bug 804387) because of Android M2 crashes
Backed out changeset 80e8530f06ea (bug 804387)
Backed out changeset 3de2271ad47f (bug 804387)
Backed out changeset 00f86870931c (bug 804837)
Backed out changeset 0e3f20927c50 (bug 804387)
Backed out changeset e6ef90038007 (bug 804387)
Backed out changeset 0ad6f67a95f9 (bug 804387)
Backed out changeset d0772aba503c (bug 804387)
Backed out changeset 5477b87ff03e (bug 804387)
Backed out changeset 1d7ec5adc49f (bug 804387)
Backed out changeset 11f4d740cd6c (bug 804387)
Backed out changeset e6254d8997ab (bug 804387)
Backed out changeset 372322f3264d (bug 804387)
Backed out changeset 53d5ed687612 (bug 804387)
Backed out changeset 000b88ac40a7 (bug 804387)
2013-02-05 01:29:28 -05:00
Robert O'Callahan fff805d929 Bug 804387. Part 1.5: Clean up main-thread MediaStream event listeners. r=jesup
There is no need for these to be independent objects in general and we
don't need to addref/release them. We can just require the caller to
remove them before they die.
We can also save some refcount churn by having
DispatchToMainThreadAfterStreamStateUpdate take already_AddRefed.
2013-02-04 23:04:24 +13:00
Matthew Gregan b391bc5343 Bug 835075 - Modify the mochitest. r=padenot 2013-02-04 14:08:47 +01:00
Paul Adenot 9dd758e19b Bug 804875 - Reset media element when loading a new src. r=kinetik 2012-12-27 16:21:30 +01:00
Steve Workman c4db17c5df Bug 836143 - MediaDecoder should call its own OnDecodeThread for clearer error detection r=cpearce 2013-01-30 12:14:43 -08:00
Robert O'Callahan a217511baa Bug 806754. Make MediaDecoders detect when a MediaStream has been destroyed because its DOM wrapper has been collected, and remove the no-longer-relevant MediaStream from the output list. r=cpearce 2013-01-30 17:19:03 +13:00
Randell Jesup 88b90856e8 bug 804875: backout due to regressions of various uses of .src/mozSrcObject (bugs 836011/835705) rs=kinetik 2013-01-29 18:07:29 -05:00
Steve Workman fc3a645483 Bug 792935 - Aggregate results from IsDataCachedToEndOfResource from DASH sub-decoders r=cpearce 2013-01-28 18:34:28 -08:00
Paul Adenot b2be044c34 Bug 814308 - MediaDecoder::SetDuration doesn't handle aDuration=inf correctly. r=kinetik 2013-01-24 20:28:48 +01:00
Paul Adenot 3fc7a83428 Bug 804875 - Reset media element when loading a new src. r=kinetik 2013-01-24 20:28:48 +01:00
Steve Workman d67458703d Bug 792935 - Miscellaneous fixes for DASH Mochitests r=cpearce 2013-01-23 11:24:41 -08:00
Paul Adenot 4d660f020c Bug 829042 - Remove dead PlaybacKRateChanged member. r=cpearce 2013-01-18 16:57:17 +01:00
Ed Morley efb9ed6934 Backout b3a8618f901c (bug 829042), 34a9ef8f929d (bug 822933), 4c1215cefbab (bug 826349), 70bb7f775178 (bug 825325), e9c8447fb197 (bug 828713), eb6ebf01eafe (bug 828901), f1f3ef647920 (bug 825329), f9d7b5722d4f (bug 825329), 5add564d4546 (bug 819377), 55e93d1fa972 (bug 804875), f14639a3461e (bug 804875), 23456fc21052 (bug 814308) for Windows pgo-only mochitest-1 media test timeouts on a CLOSED TREE 2013-01-16 15:16:23 +00:00
Paul Adenot 3a75423360 Bug 829042 - Remove dead PlaybackRateChanged member. r=cpearce 2013-01-15 19:57:04 +01:00
Paul Adenot 755156b5cc Bug 804875 - Reset media element when loading a new src. r=kinetik 2013-01-15 19:57:03 +01:00
Paul Adenot 12f86d3bc5 Bug 814308 - MediaDecoder::SetDuration doesn't handle aDuration=inf correctly. r=kinetik 2013-01-15 19:57:00 +01:00
Mats Palmgren 7532b4e736 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Robert O'Callahan b3fd9bdea7 bug 824294. Check for null (destroyed) element just before we call PlaybackEnded on it. r=doublec 2013-01-05 17:00:42 +13:00
Nicholas Nethercote 84a7ba7d6a Bug 824397 - Use NS_ENSURE_{TRUE,FALSE,SUCCESS}_VOID(foo) instead of NS_ENSURE_{TRUE,FALSE,SUCCESS}(foo, ). r=derf. 2012-12-23 20:45:57 -08:00
Chris Pearce 7d6882c815 Bug 799315 - Use Windows Media Foundation to play back MP4, MP3 and M4A on Windows 7 and later (preff'd off). r=padenot 2012-12-18 21:49:58 +13:00
Steve Workman 3a62fdc6d6 Bug 820596 - Defend against nullptr calls to mDecoderStateMachine and mReentrantMonitor r=cpearce 2012-12-13 11:42:45 -08:00
Steve Workman 8010c21215 Bug 820588 - Aggregate and forward statistics in DASH decoder classes r=cpearce 2012-12-13 11:42:45 -08:00
Paul Adenot 1cd1517d6a Bug 816949 - Remove IsSeekableInBufferedRange() methods as they are not needed anymore. r=cpearce 2012-12-07 14:30:03 +01:00
Mats Palmgren 18a9006d8e Bug 817574 - Replace NS_ABS with std::abs. r=roc 2012-12-04 13:33:33 +01:00
Paul Adenot 0b91cc0ec7 Bug 455165 - Add support for chained ogg audio file and proper metadata dispatching. r=cpearce 2012-11-30 14:17:54 +01:00