Commit Graph
70 Commits
Author SHA1 Message Date
Masatoshi Kimura 148f6c5f05 Bug 859022 - Remove the MSVC exemption for FAIL_ON_WARNINGS in content/media. r=roc 2013-06-27 20:30:41 +09:00
Chris Pearce 835bea15b5 Bug 872866 - Set length of MediaResource earlier in load. r=roc 2013-05-16 15:22:34 +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
Robert O'Callahan a46bbd2814 Bug 786539. Part 2: AreAllStreamsForResourceSuspended should ignore streams that can't read the resource data we need. r=cpearce 2013-04-24 21:19:02 +12:00
Robert O'Callahan 2dd8e12780 Bug 786539. Part 1: When receiving an HTTP 416 in response to a seek, tell the media cache that we reached the end of the resource. r=cpearce
See the comments. This is especially likely to happen if we reach the end of
a resource and then do our reopen-on-error dance because at some point we
paused and resumed and we fear the server may have timed out our connection
without giving us all the data.
2013-04-24 21:18:56 +12:00
Steve Workman c5bfce27c4 Bug 855064 - Exclude DASH code from default builds r=cpearce 2013-04-02 17:05:00 -07:00
Andrea Marchesini b435a01287 Bug 841493 - Rename nsHTMLMediaElement to HTMLMediaElement, r=Ms2ger 2013-03-19 13:23:54 +01:00
Chris Pearce 292affb5db Bug 839031 - Store the Content-Type/MIME-Type on MediaResource. r=padenot 2013-02-15 14:10:58 +13:00
Chris Pearce b6f747b762 Bug 836927 - Bustage fix. r=bustage 2013-02-05 10:57:29 +13:00
Chris Pearce 754a9b595c Bug 836927 - Make WMFByteStream bug compatible with WMF's IMFByteStream implementation. r=padenot 2013-02-05 10:34:23 +13:00
Steve Workman 3882ac433e Bug 792935 - Remove code to cancel DASH subsegment downloads during a seek r=cpearce 2013-01-28 18:34:28 -08:00
Steve Workman d67458703d Bug 792935 - Miscellaneous fixes for DASH Mochitests r=cpearce 2013-01-23 11:24:41 -08: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
Marco Chen f577e9499f Bug 823445 - Avoiding deadlocks and main-thread blockage on input streams, by not taking the lock in FileMediaResource::Close. r=roc, a=blocking-basecamp 2013-01-08 17:52:24 +08:00
Michal Novotny 9ec3c65fa5 Bug 725993 - Remove usage of STORE_ON_DISK_AS_FILE flag in media cache, r=roc 2013-01-04 00:27:04 +01:00
Jeff Walden 8a6657de57 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Steve Workman 8010c21215 Bug 820588 - Aggregate and forward statistics in DASH decoder classes r=cpearce 2012-12-13 11:42:45 -08:00
Steve Workman 9254de3b1c Bug 816726 - Add seeking capabilities to DASH-WebM code r=cpearce 2012-12-13 11:42:45 -08:00
Steve Workman 0ae1ea879d Bug 792404 - Add code to enable adaptive decoder and reader switching for DASH-WebM r=cpearce 2012-12-06 15:27:08 -08: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
Scott Johnson 0efbfb5758 Bug 812372: Rename DocumentViewerImpl to nsDocumentViewer for consistency. [r=ehsan] 2012-11-28 18:26:39 -06:00
Ehsan Akhgari 1bc23940bf Bug 813209 - Refactor MediaResource into BaseMediaResource so that we can base the implementation of BufferMediaSource on top of MediaSource; r=cpearce
This refactoring is needed for the introduction of the BufferMediaResource class.
2012-11-16 20:31:53 -08:00
Ehsan Akhgari 4d20a7c7a1 Backed out changeset f76720054116 (bug 813209) because of leaks 2012-11-19 18:15:18 -05:00
Ehsan Akhgari 1405da0125 Bug 813209 - Refactor MediaResource into BaseMediaResource so that we can base the implementation of BufferMediaSource on top of MediaSource; r=cpearce
This refactoring is needed for the introduction of the BufferMediaResource class.
2012-11-16 20:31:53 -08:00
Chris Pearce ee8cf66b4b Bug 811381 - Remove ns prefix from media code. r=roc 2012-11-14 11:46:40 -08:00
Chris Pearce 0d0f32f4e0 Bug 811381 - Move media code into mozilla namespace. r=roc 2012-11-14 11:45:33 -08:00
Chris Pearce b30fd539ba Bug 811381 - Flatten nsMediaDecoder and nsBuiltinDecoder into a single class. r=roc 2012-11-14 11:45:13 -08:00
Ehsan Akhgari 6bfed4d26e Bug 810177 - Part 4: Make nsMediaDecoder not depend on nsHTMLMediaElement; r=cpearce
The basic idea in this patch is to create an MediaDecoderOwner
interface which nsHTMLMediaElement would implement, and put everything
needed by nsMediaDeocder on that interface.  In addition to that,
there are a number of other cleanup patches which enables us to
eliminate many of the nsHTMLMediaElement.h #includes in the media code.
2012-11-09 00:52:53 -05:00
Robert O'Callahan 7bf10781dc Bug 792675. Part 4: Refactor nsBlobURI/nsBlobProtocolHandler to nsHostObjectURI/nsHostObjectProtocolHandler. r=sicking
The code to handle MediaStream URIs is almost the same as for Blobs, so share it.
nsHostObjectProtocolHandler is modified a bit to simplify method names. Also
we make nsHostObjectProtocolHandler::AddDataEntry take responsibility for
generating the URI to avoid duplicating that code later.
We need separate subclasses for each kind of host object protocol handler,
but we don't need separate subclasses for each kind of host object URI.
2012-09-25 15:24:44 +12:00
Nick Hurley 0f1168cbdd Bug 536324 part 3 - Change consumers of nsIChannel. r=sworkman 2012-10-22 10:51:07 -07:00
Matthew Gregan 99b8ea9905 Bug 795892 - Fix CORS listener refcnt in ChannelMediaResource::OpenChannel. r=roc 2012-10-02 18:03:24 +13:00
Steve Workman 804f040ce0 Bug 734546: Add DASH Decoders and Readers r=cpearce r=ted 2012-09-29 16:29:04 -07:00
Steve Workman 75ae728375 Bug 734546: Add full byte range request ability to ChannelMediaResource r=cpearce 2012-09-29 16:29:04 -07:00
Isaac Aggrey 990e90e88a Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Ehsan Akhgari 6c934f3dff Bug 788275 - Part 0: Make nsCORSListenerProxy's constructor not cause the object to be destroyed before it is constructed; r=bzbarsky
That is always a nice property to have!
2012-09-18 22:16:23 -04:00
Ryan VanderMeulen 2b6e916b4a Merge m-c to inbound. 2012-09-05 23:03:09 -04:00
Makoto Kato 8696ddea08 Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Paul Adenot fbfc6e89bc Bug 567077 - Avoid sniffing when recreating a channel. r=cpearce 2012-09-04 17:49:46 -07:00
Ryan VanderMeulen 4acaf88d13 Backout bug 567077 for bustage. 2012-09-05 18:36:38 -04:00
Paul Adenot 22b2813d4d Bug 567077 - Avoid sniffing when recreating a channel. r=cpearce 2012-09-04 16:24:12 -07:00
Paul Adenot cf406565bf Bug 730765 - Media cache shouldn't be used when loading from blob: urls. r=biesi 2012-09-04 14:53:52 -07:00
Chris Pearce 36fffe1bca Bug 787805 - Improve correctness and thread safety of FileMediaResource::EnsureSizeInitialized. r=roc 2012-09-04 12:05:41 +12:00
Chris Pearce 113b1908f1 Bug 787805 - Null check mInput in FileMediaResource::EnsureLengthInitialized(). r=roc 2012-09-03 16:12:23 +12:00
Randell Jesup 3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Chris Pearce de123d3017 Bug 785909 - Don't init FileMediaResource::mSize on the main thread. r=roc 2012-08-29 15:55:57 +12:00
Chris Double 4e6cdb7115 Backout bug 730765 Part 3/3 2012-08-24 00:12:53 +12:00
Chris Double 1fb7680ab7 Backed out changeset 5583ccdfea18 2012-08-23 22:42:14 +12:00
Paul Adenot 467d67bd73 Bug 730765 - Media cache shouldn't be used when loading from blob: urls. r=biesi 2012-08-21 16:00:23 -07:00