Paul Adenot
4283006604
Bug 567077 - Avoid sniffing when recreating a channel. r=cpearce
2012-09-04 16:24:12 -07:00
Chris Pearce
fbaf1904eb
Bug 787805 - Improve correctness and thread safety of FileMediaResource::EnsureSizeInitialized. r=roc
2012-09-04 12:05:41 +12:00
Chris Pearce
0ec7cd264b
Bug 787805 - Null check mInput in FileMediaResource::EnsureLengthInitialized(). r=roc
2012-09-03 16:12:23 +12:00
Randell Jesup
29ac5c0b8c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Chris Pearce
5757534b7c
Bug 785909 - Don't init FileMediaResource::mSize on the main thread. r=roc
2012-08-29 15:55:57 +12:00
Chris Double
f02292c9f4
Backout bug 730765 Part 3/3
...
--HG--
extra : rebase_source : 2aadbb2419cceeac30bd95484e37ab905525662f
2012-08-24 00:12:53 +12:00
Chris Double
af6a76cff2
Backed out changeset 5583ccdfea18
2012-08-23 22:42:14 +12:00
Paul Adenot
1fb050e013
Bug 730765 - Media cache shouldn't be used when loading from blob: urls. r=biesi
2012-08-21 16:00:23 -07:00
Ryan VanderMeulen
15bd519dbe
Backout 3ce94808577b, 56f288230d5a, and 18ff170ecb1f (bug 730765) for bustage. r=fail
2012-08-21 18:45:54 -04:00
Paul Adenot
e7f75f1f49
Bug 730765 - Media cache shouldn't be used when loading from blob: urls. r=biesi
2012-08-15 10:36:12 -07:00
Paul Adenot
29b17248c6
Bug 762282 - Don't notify the HTMLMediaElement if we reach the end of the media while seeking for metadata. r=chris.double
2012-08-17 10:01:08 -07:00
Aryeh Gregor
982100775b
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Honza Bambas
5fe7a22e2c
Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking
2012-08-10 22:44:11 -04:00
Ehsan Akhgari
8c296bbcd4
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Ed Morley
a9fda23889
Backout ec46cfa51bf8, 4a54f06efee8, de811fbd27b0 & 67ea1314c777 (bug 567077) for causing bug 781141
2012-08-08 13:11:34 +01:00
Paul Adenot
73eea5d7e2
Bug 567077 - Avoid sniffing when recreating a channel. r=cpearce
2012-08-07 15:56:01 -07:00
Aryeh Gregor
2e7996f8d1
Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan
2012-07-27 16:59:29 +03:00
Aryeh Gregor
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Matthew Gregan
fac533dad5
Bug 774901 - Don't recreate MediaResource channel during seek if resource is still suspended. r=roc
...
--HG--
extra : rebase_source : d6ee9bbc3b5705ca9006a7e0723021be5230fb52
2012-07-25 17:50:13 +12:00
David Zbarsky
cd3c58ee76
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Abhishek Bhatnagar
9d5a0d7a05
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
8aee98e28b
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
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Robert O'Callahan
54a29c01d8
Bug 664918. Part 8: Add mozCaptureStream()/mozCaptureStreamUntilEnded() APIs to HTML media elements, returning a MediaStream representing the contents of the media element. r=cpearce,jesup
...
This is currently not fully functional. The MediaStream always ends when the underlying resource ends. You can't use these APIs on a media element
whose src is a MediaStream. Seeking or pausing the resource will cause problems. The media element does not play back in sync with the MediaStream.
2012-04-30 15:12:42 +12:00
Nathan Froyd
f951079eae
Bug 739962 - fix -Wunused-but-set-variable warnings in content; r=bent
2012-03-28 09:14:33 -04:00
Robert O'Callahan
437f35ed2a
Bug 712836. Make MediaResources which have ended abnormally ineligible for cloning. r=cpearce
2012-03-20 20:55:40 +13:00
Matthew Gregan
b4bd6bbd9d
Bug 634564 - Don't reset load-in-background flag when moving completed media load into the foreground. r=cpearce
2012-02-24 14:07:35 +13:00
Robert O'Callahan
ad4c67538b
Bug 726889. Rename nsMediaStream/nsMediaChannelStream/nsMediaFileStream to mozilla::MediaResource/ChannelMediaResource/FileMediaResource. Also rename nsByteRange to mozilla::MediaByteRange and nsChannelStatistics to mozilla::MediaChannelStatistics. Rename GetStream to GetResource and various other mentions of 'stream' to 'resource'. r=cpearce
...
--HG--
rename : content/media/nsMediaStream.cpp => content/media/MediaResource.cpp
rename : content/media/nsMediaStream.h => content/media/MediaResource.h
2012-02-15 17:35:01 +13:00