Paul Adenot
02ca3e551c
Bug 783953 - Rename MOZ_SAMPLE_TYPE_S16LE to MOZ_SAMPLE_TYPE_S16. r=kinetik,roc
2012-09-01 11:35:56 -04: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
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
Mike Hommey
6173fa297f
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Ralph Giles
f63a794f44
Bug 763010 - Expose media element metadata. r=cpearce
...
Implements a media.mozGetMetadata() method returning a new javascript object whose properties are key value pairs respresenting metadata tags from the media resource. This data is available after readystate enters METADATA_LOADED.
Currently this is only implemented for Ogg Vorbis streams.
Media format metadata is parsed out by the media decoders. In the nsCodecStateMachine::ReadMetadata subclasses we fill in an nsDataHashtable pointer using the format-specifc api.
The hash pointer is passed up to the media element as part of the MetadataLoaded event.
The hash is deleted if the load is aborted. The audio metadata is also reset to zero (as in the constructor), resolving a todo comment.
2012-07-30 20:14:29 -04:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Ms2ger
1a4b2fb61b
Bug 756397 - Enable FAIL_ON_WARNINGS in content/media; r=cpearce
2012-07-18 12:36:08 +02:00
Matthew Gregan
d6ea8c2c90
Bug 723860 - Early bail from reader's GetBuffered() if not yet initialized. r=doublec
2012-06-06 17:58:07 +12:00
Ms2ger
37be1fb791
Bug 760156 - Cleanup LOCAL_INCLUDES in content/media/; r=sicking
...
This patch makes it possible to include nsGenericHTMLElement.h without adding
to LOCAL_INCLUDES.
2012-06-06 09:40:02 +02:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Paul Adenot
67bfe4f064
Bug 756372 - Change |seeking| to prevent seeking in WebM livestream. r=kinetik
2012-05-18 13:35:43 -04:00
Ms2ger
f484c0a6e7
Bug 754643 - Disable FAIL_ON_WARNINGS in content/media because new warnings were introduced.
2012-05-18 10:57:20 +02:00
Ms2ger
3d92167c95
Bug 754643 - Enable FAIL_ON_WARNINGS in content/media; r=cpearce f=roc
2012-05-18 10:29:38 +02:00
Christopher De Cairos
5cc51b277e
Bug 736400 - Make each decoder Clone() method check if its mimetype is enabled. r=cpearce
2012-03-30 20:52:07 -04:00
Chris Pearce
67dc6373b0
Bug 726400 - Backed out changeset 4ad6c040729f. r=backout.
2012-03-26 14:41:14 +13:00
Christopher De Cairos
c7ae7c5f02
Bug 736400 - Make each decoder Clone() method check if its mimetype is enabled r=cpearce
2012-03-26 14:21:53 +13:00
Phil Ringnalda
c7ab04c773
Back out c4a4b0171b99 (bug 736400) for Android build bustage
2012-03-25 15:35:37 -07:00
Christopher De Cairos
b79453b4bf
Bug 736400 - Make each decoder Clone() method check if its mimetype is enabled r=cpearce
2012-03-26 10:48:40 +13:00
Matthew Gregan
aaae0699d4
Bug 734784 - Clean up some include lists in content/media. r=cpearce
2012-03-12 15:19:31 +13:00
Justin Lebar
b682bbe4a5
Bug 731789 - Rename mfbt/StdInt.h to mfbt/StandardInteger.h, so stdint types work from cpp files inside mfbt. r=waldo
2012-02-29 22:56:43 -05:00
Robert O'Callahan
4840bbe976
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
Ms2ger
236b6c12a8
Bug 699731 - Remove PR_INT64_MAX / PR_UINT64_MAX from non-nsprpub source; r=ted
2012-01-11 09:23:07 +01:00
Robert O'Callahan
4f2e71dc44
Bug 703379. Rename nsMediaDecoder::GetCurrentStream to GetStream. Make nsMediaStream::URI() const. r=doublec
2011-11-25 15:06:20 +13:00
Robert O'Callahan
1a60edba9a
Backing out part of bug 703379 to fix build failure of nsRawReader
2011-11-24 12:30:03 +13:00
Robert O'Callahan
fc5886fa9f
Bug 703379. Rename nsMediaDecoder::GetCurrentStream to GetStream. Make nsMediaStream::URI() const. r=doublec
2011-11-24 12:05:12 +13:00
Matthew Gregan
b91f76289a
Bug 690603 - Remove PR_TRUE/PR_FALSE from media code. r=doublec
2011-09-30 12:34:37 +13:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Matthew Gregan
bd4295528f
Bug 689432 - Disambiguate use of "samples" by introducing "frames" in a number of places. r=doublec
2011-09-27 16:31:18 +13:00
Martin Richard
398b044837
Bug 646333 - Make video constants consistently const T. r=cpearce
2011-09-15 07:39:50 +12:00
Matthew Gregan
1eaa941a74
Bug 679269 - Rename SoundData{,Value} to AudioData{,Value} and fix inconsistent use of "sound" vs "audio". r=doublec
2011-08-16 17:19:51 +12:00
Chris Pearce
fabed158ed
Bug 592833 - Remove nsBuiltinDecoderReader monitor. r=roc
2011-07-12 15:39:28 +12:00
Chris Pearce
1e2942a0a5
Bug 592833 - Move seeking to the decode thread. r=roc
2011-07-12 15:39:25 +12:00
Chris Pearce
b6b4964da4
Bug 592833 - Move metadata decoding to decode thread. r=roc
2011-07-12 15:39:23 +12:00
Ed Morley
af1d9c6c2b
Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted
2011-06-25 16:06:02 +02:00
Chris Jones
ed22df8f64
Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
...
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Chris Pearce
bf7fe4cec2
Bug 650157 - Push nsBuiltinDecoderReader::mDataOffset down into nsOggReader. r=doublec
2011-04-15 13:29:54 +12:00
Chris Pearce
3fa5bf6b10
Bug 641718 - Round nsWaveReader's buffered ranges times to usecs. r=kinetik
2011-04-14 10:12:23 +12:00
Chris Pearce
a259c20cba
Bug 641718 - Convert to using microseconds for internal video timestamps. r=kinetik
2011-04-14 10:12:23 +12:00
Chris Pearce
48f5b7cc07
Bug 641718 - Backout 44d43f095a4f. r=backout
2011-04-01 13:02:20 +13:00
Chris Pearce
526f101e8a
Bug 641718 - Convert to using microseconds for internal video timestamps. r=kinetik
2011-04-01 11:10:49 +13:00
Chris Double
eddc958618
Bug 646819 - Fix incorrect position calculation in nsWaveDecoder::DecodeAudioData causing OOM - r=kinetik
2011-04-01 03:49:07 +13:00
Chris Double
bd28db8dee
Bug 635649 - Refactor Wave backend to use content/media nsBuiltinDecoder framework - r=kinetik
...
commit c7e190d81b10e7425b53217352c126adfbb79c4a
Author: Chris Double <chris.double@double.co.nz>
Date: Thu Mar 24 18:09:06 2011 +1300
Fix
2011-03-30 18:37:42 +13:00
Chris Pearce
c6a5fc5f37
Bug 628665 - Resurrect nsBuiltinDecoderStateMachine::HasLowDecodedData(). r=roc
2011-03-24 11:28:57 +13:00
Alon Zakai
3145ec77d2
bug 634407 - Going to a canvas based tetris game will cause the content not to redraw r=cdouble a=blocking-fennec
2011-03-07 17:44:49 -08:00
Matthew Gregan
9dc00ae210
Bug 633332 - Null check mElement in nsWaveDecoder::NotifyDownloadEnded. r=cpearce a=roc
2011-02-18 16:42:15 +13:00
Matthew Gregan
f6eec8c272
Bug 627139 - Report seek target as current time immediately after seeking. r=roc a=roc
2011-02-01 15:57:13 +13:00
Matthew Gregan
31cc4eb4f7
Bug 626273 - Correct boundary seek logic. Change media element IDL floats to doubles per the spec. Invalidate updated frame after seeking. Optimize small forward seeks in WebM. r=cpearce a=roc
2011-01-17 16:03:00 +13:00
Matthew Gregan
4004024181
Bug 621257 - Handle transition from buffering to seeking state correctly in Wave decoder. r=roc a=roc
2011-01-05 17:01:26 +13:00
Chris Pearce
0dc06f3103
Bug 623637 - Initiate media buffering when decode hits end of downloaded data, rather than when they're close. r=roc a=roc
2011-01-18 13:53:18 +13:00
Chris Pearce
0e486c9c7c
Bug 611994 - Fire timeupdate based on time change, not timer. r=roc a=roc
2010-11-25 07:34:57 +13:00