Commit Graph

96 Commits

Author SHA1 Message Date
Birunthan Mohanathas
2deaba6d91 Bug 869836 - Part 8: Use Append('c') instead of Append("c"). r=ehsan 2014-05-22 06:48:52 +03:00
Vasanthakumar Pandurangan
7d3d536bb6 Bug 1010685 - FileMediaResource Tell() should not return 0 when file is closed. r=roc 2014-05-19 15:03:24 +05:30
JW Wang
371885330d Bug 1001317 - reset |MediaCacheStream::mDidNotifyDataEnded| so that it can notify data ended correctly upon 2nd download. r=roc 2014-05-11 20:43:00 +02:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Eric Rahm
5419f1b49f Bug 969117 - Report memory usage of MediaResources. r=njn 2014-03-05 13:31:04 -08:00
Chris Pearce
1a2bf7e190 Bug 978647 - Properly handle EOF in DirectShow backend. r=edwin 2014-03-03 19:57:10 +13:00
Chris Pearce
0516c820f0 Bug 975858 - Ensure that MediaResource dtor always runs on the main thread, making it safe to deref on non-main threads. r=roc 2014-02-26 13:36:54 +13:00
Chris Pearce
43a82e9808 Bug 903051 - Prevent aborted loads from messing with ChannelMediaResource state. r=roc 2014-02-13 17:08:55 +13:00
Sotaro Ikeda
bc039bb881 Bug 929029 - Use nsMainThreadPtrHandle in MediaResource. r=roc, r=doublec 2013-12-02 10:22:33 -05:00
Ryan VanderMeulen
0464ebbd62 Backed out changeset a1628c9ba4af (bug 929029) for timeouts/crashes in test_dataChannel_basicAudio.html. 2013-12-02 12:12:45 -05:00
Sotaro Ikeda
5dea3e9bb1 Bug 929029 - Use nsMainThreadPtrHandle in MediaResource. r=roc, r=doublec 2013-12-02 10:22:33 -05:00
Ehsan Akhgari
2f9d8a7309 Bug 939582 - Part 1: Rework the NSPR logging in content/media to use different macro names for different logs; r=doublec 2013-11-20 22:02:42 -05:00
Ehsan Akhgari
e7936b0d93 Backed out 2 changesets (bug 939582) because of build bustage
Backed out changeset 2079c828645a (bug 939582)
Backed out changeset af472e590088 (bug 939582)
2013-11-20 21:41:40 -05:00
Ehsan Akhgari
3c5450530e Bug 939582 - Part 1: Rework the NSPR logging in content/media to use different macro names for different logs; r=doublec 2013-11-20 21:11:54 -05:00
Matthew Gregan
6dcb5015db Bug 939662 - Remove "using namespace mozilla::dom;" from MediaDecoder.h and fix fallout. r=cpearce 2013-11-18 17:22:47 +13:00
Phil Ringnalda
102ba52e3d Back out 4fd2bf2ec8db (bug 939662) for Windows build bustage
CLOSED TREE
2013-11-18 21:34:48 -08:00
Matthew Gregan
f9db1edec7 Bug 939662 - Remove "using namespace mozilla::dom;" from MediaDecoder.h and fix fallout. r=cpearce
--HG--
extra : rebase_source : 922db8de8e9103e3001c26f23ed7402efa8237f5
2013-11-18 17:22:47 +13:00
Matthew Gregan
bf52a0e2d7 Bug 935349 - Remove remaining disabled DASH code. r=doublec 2013-11-07 17:08:42 +13:00
Matthew Gregan
3bdef6ed81 Bug 934820 - Remove LoadedEvent from MediaResource.cpp since it's almost identical to DataEnded. r=cpearce 2013-11-05 16:19:50 +13:00
Benjamin Chen
a5637c000c Bug 831645 - part2, Rtsp media resource and decoder. r=roc, doublec, sworkman, khuey, gps 2013-09-23 17:53:36 +08:00
Chris Pearce
7fb506d1f8 Bug 915957 - Move MediaDecoder::NotifyBytesConsumed() calls into MediaResource, so we don't need to remember to do them in all decoder backends. r=kinetik 2013-09-18 15:37:23 +12:00
Ehsan Akhgari
143454cc1a Bug 912702 - Minimize the #includes in content/media; r=roc 2013-09-05 16:25:17 -04:00
Ehsan Akhgari
92ad73ef93 Backed out changeset 2f15518f566e (bug 912702) because of B2G JB Emulator build bustage
--HG--
extra : rebase_source : 6c01ad3bc2f91b0e7e3edab84aedbfe064310a8b
2013-09-05 13:29:38 -04:00
Ehsan Akhgari
be1e68caf3 Bug 912702 - Minimize the #includes in content/media; r=roc 2013-09-04 17:58:14 -04:00
Robert O'Callahan
979a3ae072 Bug 899863. Ensure resources with a Content-Length (that's not the result of a range request) are treated as bounded. r=cpearce
--HG--
extra : rebase_source : b3741deef952bf31b651c418efa5f168f9881469
2013-08-01 16:02:40 +12:00
Chris Double
f341d51ee6 Bug 894148 - Implement MediaResource::ReadAt for threadsafe seek+read - r=cpearce 2013-07-17 13:54:52 +12:00
Masatoshi Kimura
af2068ecf9 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
64f507219b Bug 872866 - Set length of MediaResource earlier in load. r=roc 2013-05-16 15:22:34 +12:00
Chris Pearce
ea957dfa74 Bug 862182. r=roc,doublec 2013-05-03 10:59:18 +12:00
Chris Pearce
a183f15892 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
53ff357687 Bug 862182 - Hold references to MediaResource in nsRefPtrs. r=roc 2013-05-01 11:23:46 +12:00
Robert O'Callahan
6d53909612 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
2f9b7480b2 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
0574e54c10 Bug 855064 - Exclude DASH code from default builds r=cpearce 2013-04-02 17:05:00 -07:00
Andrea Marchesini
8c4773bbdb Bug 841493 - Rename nsHTMLMediaElement to HTMLMediaElement, r=Ms2ger
--HG--
rename : content/html/content/public/nsHTMLMediaElement.h => content/html/content/public/HTMLMediaElement.h
rename : content/html/content/src/nsHTMLMediaElement.cpp => content/html/content/src/HTMLMediaElement.cpp
2013-03-19 13:23:54 +01:00
Chris Pearce
45033dda72 Bug 839031 - Store the Content-Type/MIME-Type on MediaResource. r=padenot 2013-02-15 14:10:58 +13:00
Chris Pearce
a0a8f9ba33 Bug 836927 - Bustage fix. r=bustage 2013-02-05 10:57:29 +13:00
Chris Pearce
67fcb5bebb Bug 836927 - Make WMFByteStream bug compatible with WMF's IMFByteStream implementation. r=padenot 2013-02-05 10:34:23 +13:00
Steve Workman
9b165aa46e Bug 792935 - Remove code to cancel DASH subsegment downloads during a seek r=cpearce 2013-01-28 18:34:28 -08:00
Steve Workman
e30ae6ad32 Bug 792935 - Miscellaneous fixes for DASH Mochitests r=cpearce 2013-01-23 11:24:41 -08:00
Mats Palmgren
6c53161814 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
bcc528b62f 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
12d630095e 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
7146c23e80 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
f126d025a2 Bug 820588 - Aggregate and forward statistics in DASH decoder classes r=cpearce 2012-12-13 11:42:45 -08:00
Steve Workman
944aa9c5e2 Bug 816726 - Add seeking capabilities to DASH-WebM code r=cpearce 2012-12-13 11:42:45 -08:00
Steve Workman
9374cf3e90 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
a641c73fd5 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
29411d3842 Bug 812372: Rename DocumentViewerImpl to nsDocumentViewer for consistency. [r=ehsan] 2012-11-28 18:26:39 -06:00
Ehsan Akhgari
bc9d059d1b 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.

--HG--
extra : rebase_source : e4b5016e9b947948799f1b8975b23a3dd685a366
2012-11-16 20:31:53 -08:00