Ralph Giles
9041e67bc8
Bug 790381 - Remove custom extern "C" on opus_multistream.h. r=derf
...
Bug 748144 switched our opus decoding to use the
opus_multistream api so we could handle surround
audio files. The version of opus in our tree at
the time didn't include extern "C" {} protection
in the corresponding header, so we had to provide
our own.
With the update to the opus 1.0.0 source release
in bug 790381, this oversight is corrected and
we can remove our work-around.
2012-09-12 16:59:05 -04:00
Ralph Giles
9f35ef22bf
Bug 789617 - Test vorbis comment validation. r=cpearce
...
Add a new test file with some invalid comments and verify
they are filtered out of the mozGetMetadata() output.
The new file includes the following valid edge cases:
- empty tag name
- empty tag value
- punctuation in the tag name
and the following invalid cases:
- non-ascii tag name
- invalid characters in tag name
- non-utf-8 tag value
- no tag=value separator
Also updates the mochitest messages to be less confusing.
2012-09-10 15:39:23 -07:00
Ralph Giles
44ed4e2811
Bug 789617 - Improve vorbis comment validation. r=cpearce
...
Verify that tag names are ASCII within the valid character
ranges and that values are UTF-8, skipping comments where
these checks fail.
As written, the check in IsValidVorbisTagName() for the
separator character isn't necessary, because we've already
split on the first occurance. However, it's better to run
the extra check in case the function is reused elsewhere.
2012-09-10 13:49:00 -07:00
Ehsan Akhgari
bf95568d0e
Merge IonMonkey into mozilla-inbound
2012-09-11 16:38:44 -04:00
David Anderson
7b438ddde2
Merge IonMonkey to mozilla-central. a=arewefastyet
...
--HG--
rename : content/base/src/nsWebSocket.cpp => content/base/src/WebSocket.cpp
rename : content/base/src/nsWebSocket.h => content/base/src/WebSocket.h
2012-09-11 10:25:14 -07:00
Rafael Ávila de Espíndola
86f12cace6
Bug 790283 - add newline to the end of two files. r=ehsan.
2012-09-11 13:59:10 -04:00
David Anderson
24145fc9a1
Merge from mozilla-central.
2012-09-10 12:16:38 -07:00
David Anderson
6c5722e35b
Merge from mozilla-central.
2012-09-06 18:28:59 -07:00
Ryan VanderMeulen
564bdb74b5
Merge m-c to inbound.
2012-09-05 23:03:09 -04:00
Makoto Kato
c28c020a8f
Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza
2012-09-06 11:41:02 +09:00
David Anderson
043ddae94a
Merge from mozilla-central.
...
--HG--
rename : js/jsd/jsd_scpt.c => js/jsd/jsd_scpt.cpp
rename : js/jsd/jsd_stak.c => js/jsd/jsd_stak.cpp
rename : js/jsd/jsd_val.c => js/jsd/jsd_val.cpp
2012-09-05 16:18:11 -07:00
Paul Adenot
1b75b131ca
Bug 567077 - Tests for sniffing the types of media files that are served with no Content-Type. r=cpearce
2012-09-04 16:24:34 -07:00
Paul Adenot
1328b09819
Bug 567077 - Avoid sniffing when recreating a channel. r=cpearce
2012-09-04 17:49:46 -07:00
Paul Adenot
2719cc62de
Bug 567077 - Sniff types of media files that are served with no Content-Type. r=cpearce
2012-09-04 16:22:34 -07:00
David Anderson
25c3dd55c0
Merge from mozilla-central.
...
--HG--
rename : js/src/sharkctl.cpp => js/src/devtools/sharkctl.cpp
rename : js/src/sharkctl.h => js/src/devtools/sharkctl.h
rename : js/src/MemoryMetrics.cpp => js/src/jsmemorymetrics.cpp
2012-08-29 17:57:37 -07:00
David Anderson
6b403f94c2
Merge from mozilla-central.
...
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-29 17:51:24 -07:00
Ryan VanderMeulen
07a63bd067
Backout bug 567077 for bustage.
2012-09-05 18:36:38 -04:00
Paul Adenot
fe4b12cd7c
Bug 567077 - Tests for sniffing the types of media files that are served with no Content-Type. r=cpearce
2012-09-04 16:24:34 -07:00
Paul Adenot
bdab14e35c
Bug 567077 - Avoid sniffing when recreating a channel. r=cpearce
2012-09-04 16:24:12 -07:00
Paul Adenot
cce500079e
Bug 567077 - Sniff types of media files that are served with no Content-Type. r=cpearce
2012-09-04 16:22:34 -07:00
Paul Adenot
a8a6b828f5
Bug 730765 - Media cache shouldn't be used when loading from blob: urls. r=biesi
2012-09-04 14:53:52 -07:00
Siddharth Agarwal
6e3e5ab3cb
Merge mozilla-central to mozilla-inbound.
2012-08-29 20:41:03 +05:30
Ed Morley
8a2d0d11e2
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-08-29 14:35:19 +01:00
Chris Pearce
ce03c78256
Bug 785909 - Don't init FileMediaResource::mSize on the main thread. r=roc
2012-08-29 15:55:57 +12:00
Matthew Gregan
7f1be93029
Bug 785967 - Reject Wave files with invalid data block size in the format chunk. r=doublec
2012-08-28 18:21:58 +12:00
Ed Morley
2b2533f754
Bug 752796 - Disable test_streams_element_capture{,_reset}.html on Windows for too many timeouts. r=kinetik
2012-08-28 12:59:33 +12:00
David Anderson
188c88907e
Merge from mozilla-central.
2012-08-22 16:09:24 -07:00
David Anderson
1ef4c57410
Merge from mozilla-central.
2012-08-21 15:59:12 -07:00
Michael Wu
d165dedcc9
Bug 694484 - OpenSL backend for libcubeb, r=kinetik
2012-09-04 17:45:08 -03:00
Chris Double
90e10cebf3
Bug 783927 - Handle zero length audio reads in stagefright backend to fix audio issues - r=cpeterson
2012-08-21 17:03:21 +12:00
David Zbarsky
fbb04700b6
Bug 784004 - Don't include Layers.h everywhere Part 3 r=nical
2012-08-21 00:06:46 -04:00
David Anderson
6fe112e8bf
Merge from mozilla-central.
2012-08-15 14:22:26 -07:00
David Anderson
a31e5baded
Merge from mozilla-central.
2012-08-14 12:20:09 -07:00
Ehsan Akhgari
805b10b6d6
Merge removal of nsnull
2012-08-14 11:29:00 -04:00
David Anderson
7ef28ac5ac
Merge from mozilla-central.
2012-08-13 13:40:42 -07:00
Aryeh Gregor
6a9cec29c8
Bug 626472 part 3 - Remove nsnull for good; r=ehsan
2012-08-12 13:43:47 +03:00
David Anderson
efd9a9feee
Merge from mozilla-central.
2012-08-10 14:50:20 -07:00
Alexandros Chronopoulos
b42d0e9db4
Bug 748144 - Support multichannel Opus files. r=rillian
...
The Opus audio format supports multichannel (surround) audio, but our initial implementation used a simpler API which only supported mono and stereo output.
To handle these files gracefully, this patch uses the multichannel api and downmixes the output, if possible, to stereo, since we don't currently support surround sound playback.
2012-08-09 15:53:23 -07:00
Honza Bambas
541453729c
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
David Anderson
b620fb6c5c
Merge from mozilla-central.
2012-08-09 13:41:13 -07:00
Ed Morley
61bd42dc2d
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-08-09 12:46:05 +01:00
Ms2ger
26217245c9
Bug 780387 - Part f: Stop using PRBool & PRPackedBool; r=bsmedberg
2012-08-09 09:10:13 +02:00
David Anderson
c9ca5124db
Merge from mozilla-central.
2012-08-08 15:09:49 -07:00
Ehsan Akhgari
0fd9123eac
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
Paul Adenot
15058d402d
Bug 730765 - Media cache shouldn't be used when loading from blob: urls. r=biesi
2012-08-21 16:00:23 -07:00
Ehsan Akhgari
7a743fcc5b
Bug 784536 - Use the name of the enum value directly as opposed to access it from the enum's scope; r=dzbarsky
2012-08-21 19:06:50 -04:00
Ryan VanderMeulen
351d01c8ff
Backout 3ce94808577b, 56f288230d5a, and 18ff170ecb1f (bug 730765) for bustage. r=fail
2012-08-21 18:45:54 -04:00
Paul Adenot
7751daec1e
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
9670c86dc2
Bug 775319 - Determine the sample format at compile time for all media code. r=kinetik
2012-08-16 18:10:36 -07:00
Kan-Ru Chen (陳侃如)
cd9d182e06
Bug 767480 - Gralloc backed video buffer. r=roc
2012-08-21 18:22:58 +08:00