Commit Graph

1027 Commits

Author SHA1 Message Date
Paul Adenot
1f5d1a1b84 Bug 567077 - Sniff types of media files that are served with no Content-Type -- Tests r=cpearce 2012-08-07 15:56:25 -07:00
Paul Adenot
8ebb59c77f Bug 567077 - Avoid sniffing when recreating a channel. r=cpearce 2012-08-07 15:56:01 -07:00
Paul Adenot
6d3ce88e68 Bug 567077 - Sniff types of media files that are served with no Content-Type r=cpearce 2012-08-07 15:54:30 -07:00
Paul Adenot
0f3392ee19 Bug 775319 - Determine the sample format at compile time for all media code. r=kinetik
--HG--
extra : rebase_source : 4e8a2a4544895c9234ccd3992e1cafe82b8cf365
2012-08-07 16:01:02 -07:00
Paul Adenot
9d2a917ec5 Bug 778902 - When a video finished playing, "pause" should be fired, and |paused| should be true. r=cpearce
--HG--
extra : rebase_source : 2866707bd6b61d0225952ff49b858011d79e04ed
2012-08-06 10:27:55 -07:00
Paul Adenot
4b10295c06 Bug 774084 - Fix a crash in nsBuiltinDecoder::GetSeekable. r=kinetik
--HG--
extra : rebase_source : f05e051cc9ab850381d138e944f2cc3ea5b3e2f7
2012-07-15 10:57:41 -07:00
Matthew Gregan
e274db737a Bug 779187 - Fix nsBufferedAudioStream's sample format selection for big endian machines. r=doublec 2012-08-06 15:26:41 +12:00
David Zbarsky
d50e4a7565 [Bug 780428] Don't include nsIFrame.h in places where it's not necessary r=roc 2012-08-05 23:00:56 -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
Ed Morley
f55d9d2db2 Bug 760770 - Mark test_timeupdate_small_files.html's "got unexpected stalled after ended" as todo for seek.webm, for frequent intermittent failures; r=cpearce 2012-08-03 11:28:12 +01:00
Ed Morley
1175eb7c52 Bug 620598, Bug 661076 & Bug 687972 - Disable frequently intermittent media tests on Linux; r=cpearce 2012-08-03 11:28:12 +01:00
Robert O'Callahan
84ab035abb Bug 646331. Specify correct duration for 320x240.ogv. r=cpearce 2012-08-03 15:22:24 +12:00
Matthew Gregan
fc44cc213c Bug 779412 - Iterate over correct test array in test_info_leak. r=cpearce 2012-08-01 17:58:09 +12:00
Chris Pearce
1448181589 Bug 778105 - Fix an nsOggReader::GetBuffered() return value type mismatch. r=doublec 2012-08-01 13:24:25 +12:00
Matthew Gregan
9ae4b13c59 Bug 761274 - Work around buffer sizing bug in PulseAudio ALSA plugin. r=doublec 2012-07-16 17:15:24 -04:00
Matthew Gregan
0d47132a00 Bug 768333 - nsBufferedAudioStream::GetPositionInFrames miscompiled with Win32 PGO. r=cpearce 2012-07-16 17:21:04 -04:00
David Zbarsky
06ea1f66f2 Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones 2012-07-30 17:42:26 -07:00
Ralph Giles
3947d0428b Bug 763010 - Add a mochitest for mozGetMetadata(). r=cpearce
Add a few Ogg files which have non-trivial tag metadata in their Vorbis streams, and verify they are returned correctly by the media.mozGetMetadata() extention.

Add a file with no comments to test {} output as well.

Verify that mozGetMetadata() throws an InvalidStateError if called immediately, before the loadedmetadata event fires.
2012-07-30 20:14:29 -04: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
903f6c9c84 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Landry Breuil
90072023cc Bug 777696: Fix gstreamer backend on big endian architectures. r=doublec 2012-07-30 17:57:15 +02:00
Ehsan Akhgari
b40b21d633 Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor
96fc9d649c Bug 777292 - Annotate some incorrect conversions to nsresult; r=ehsan 2012-07-27 17:03:25 +03:00
Makoto Kato
fab68322c5 Bug 777304 - Don't use freed pointer after destructor of NS_ConvertUTF16toUTF8. r=bsmedberg 2012-07-27 12:13:51 +09:00
Bugmenot
0a2b3d36c2 Bug 777166 - Use CFLAGS from pkgconfig for system libvpx, r=derf
From c445b9ab36a0c79aa1be2dfbd91438e994bccb4e Mon Sep 17 00:00:00 2001
---
 config/autoconf.mk.in          | 2 +-
 configure.in                   | 8 +++++---
 content/media/webm/Makefile.in | 2 +-
 3 files changed, 7 insertions(+), 5 deletions(-)
2012-07-25 19:54:23 +00:00
Matthew Gregan
513170394f 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
Aryeh Gregor
e57dd159b2 Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan 2012-07-20 14:16:17 +03:00
Robert O'Callahan
c4ac2b7c5f Bug 771135. Add MediaStreamListener::NotifyPull to give SourceMediaStream generators an easy way to implement pulling data from some source. r=jesup 2012-07-20 12:36:03 -07:00
Matthew Gregan
68e63d3ddc Bug 775170 - Use naming convention from coding style guide for static member of StateMachineTracker. r=doublec
--HG--
extra : rebase_source : 4dacfc1e600fe1ba00c16a235032f7e52a1cd10a
2012-07-18 13:26:24 -04:00
Ehsan Akhgari
6f83bbeaa8 Merge mozilla-central into mozilla-inbound 2012-07-19 08:44:19 -04:00
Ed Morley
c7736aea1d Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-19 13:25:37 +01:00
Jacek Caban
35647e8a59 Bug 472799 - Undefine GetCurrentTime in nsDOMMediaStream.h r=cpearce 2012-07-19 11:58:48 +02:00
David Zbarsky
88371b030a [Bug 774505] Don't include Layers.h everywhere r=cjones 2012-07-18 12:31:40 -04:00
Oleg Romashin
999917220b Bug 775257 - Gstreamer backend on Meego N9 produce extra noise in audio playback.r=giles 2012-07-18 22:46:11 -04:00
Ed Morley
ab4a6323cd Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-18 13:32:24 +01:00
Ms2ger
1a4b2fb61b Bug 756397 - Enable FAIL_ON_WARNINGS in content/media; r=cpearce 2012-07-18 12:36:08 +02:00
Robert O'Callahan
0be0d048a2 Bug 774597. Avoid accessing MediaStreamGraphImpl members after the graph object may have been cleaned up by the main thread. r=jesup
--HG--
extra : rebase_source : 5f6c34855ad5df629c25d4b11f008b03cf2266ae
2012-07-18 01:02:06 -04:00
Rafael Ávila de Espíndola
6fa6b984a6 Bug 775134 - Remove extra ; r=ehsan.
--HG--
extra : rebase_source : 1d44663679e8f1944649d54608e5e6e6694e88c5
2012-07-18 12:15:47 -04:00
Anant Narayanan
e91b26162f Bug 691234: Part 2/3: Implement WebRTC backend for MediaEngine on Desktop; r=jesup, r=roc 2012-07-12 04:53:08 -07:00
Anant Narayanan
2a355449fc Bug 691234: Part 1/3: Move MediaEngine files and tweak interface; r=roc
--HG--
rename : content/media/MediaEngine.h => content/media/webrtc/MediaEngine.h
rename : content/media/MediaEngineDefault.cpp => content/media/webrtc/MediaEngineDefault.cpp
rename : content/media/MediaEngineDefault.h => content/media/webrtc/MediaEngineDefault.h
2012-06-19 17:29:43 -07:00
Anant Narayanan
bb04cfc046 Backout 431ab4d097c9, bustage 2012-07-11 21:51:20 -07:00
Anant Narayanan
a268b8a7a6 Backout 431ab4d097c9, bustage 2012-07-11 21:45:20 -07:00
Anant Narayanan
de0f08c487 Backout 038e89521330, bustage 2012-07-11 21:44:16 -07:00
Anant Narayanan
641e5c597a Bug 691234: Part 2/3: Implement WebRTC backend for MediaEngine on Desktop; r=jesup, r=roc 2012-07-11 21:22:24 -07:00
Anant Narayanan
f8751ea4ae Bug 691234: Part 1/3: Move MediaEngine files and tweak interface; r=roc
--HG--
rename : content/media/MediaEngine.h => content/media/webrtc/MediaEngine.h
rename : content/media/MediaEngineDefault.cpp => content/media/webrtc/MediaEngineDefault.cpp
rename : content/media/MediaEngineDefault.h => content/media/webrtc/MediaEngineDefault.h
2012-06-19 17:29:43 -07:00
Nathan Froyd
a7eb97f896 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Matthew Gregan
3873992ad2 Bug 695612 - Make nsRemoteAudioStream::Write block by waiting for acks from its parent. r=doublec 2012-07-02 16:59:43 +12:00
Ehsan Akhgari
5e6974df88 Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:24:55 -04:00
David Zbarsky
ae718ee1c0 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00