Commit Graph

68 Commits

Author SHA1 Message Date
Chris Double
e009df53fa Bug 905070 - Fix uninitialized value use in HTML media element - r=kinetik 2013-08-16 21:57:17 +12:00
Thomas Zimmermann
1390989f3e Bug 831224: Allow update of the media duration, r=padenot
With MP3 streams, the media duration might change after we received
new data. This patch adds infrastructure to signal the new duration
to the media decoder and state machine. It will also fire an event
of type 'durationchange' to the DOM.
2013-05-03 09:48:37 +02:00
Thomas Zimmermann
f2e0466761 Bug 831224: Remove trailing whitespaces, r=padenot 2013-01-24 13:38:32 +01:00
Ed Morley
73bc5fc373 Backed out changeset 303ba353d785 (bug 831224) for turning bug 897108 permaorange 2013-08-08 10:00:26 -07:00
Ed Morley
6370daf52a Backed out changeset 43953e9233a2 (bug 831224) 2013-08-08 09:59:49 -07:00
Thomas Zimmermann
917370a2c9 Bug 831224: Allow update of the media duration, r=padenot
With MP3 streams, the media duration might change after we received
new data. This patch adds infrastructure to signal the new duration
to the media decoder and state machine. It will also fire an event
of type 'durationchange' to the DOM.
2013-05-03 09:48:37 +02:00
Thomas Zimmermann
548f89442a Bug 831224: Remove trailing whitespaces, r=padenot 2013-01-24 13:38:32 +01:00
Robert O'Callahan
1bc8fa5cb1 Bug 856361. Part 10: Address review comments. 2013-08-07 15:42:43 +12:00
Robert O'Callahan
b943b9dbcf Bug 856361. Part 2: Block data from a non-same-origin media resource entering a MediaStream from a media element. r=cpearce 2013-07-24 21:55:23 +12:00
Ehsan Akhgari
6d396d8bcb Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Matthew Gregan
3ca0e42270 Bug 895754 - Update VideoPlaybackQuality to current MSE spec (remove playbackJitter, add totalFrameDelay). r=doublec 2013-07-24 11:46:43 +12:00
Sotaro Ikeda
45e6c1f48e Bug 890394 - Prevent incorrect state transition. r=doublec 2013-07-10 09:58:04 -04:00
Matthew Gregan
a762ed561e Bug 855130 - Implement HTMLVideoElement's VideoPlaybackQuality (from
Media Source Extensions specification).  r=roc
2013-06-21 15:14:18 +12:00
Phil Ringnalda
09abf1f125 Backed out 5fa1f7715c19:7a300d1d1b23 (bug 855130) for Windows build failures
CLOSED TREE
2013-07-01 21:23:37 -07:00
Matthew Gregan
10bfe12d1c Bug 855130 - Implement HTMLVideoElement's VideoPlaybackQuality (from Media Source Extensions spec). r=roc
---
 content/html/content/public/HTMLVideoElement.h |  4 ++
 content/html/content/src/HTMLVideoElement.cpp  | 27 ++++++++++
 content/media/MediaDecoder.h                   | 17 +++++++
 content/media/MediaDecoderStateMachine.cpp     |  6 ++-
 content/media/VideoPlaybackQuality.cpp         | 53 ++++++++++++++++++++
 content/media/VideoPlaybackQuality.h           | 68 ++++++++++++++++++++++++++
 content/media/moz.build                        |  2 +
 dom/base/moz.build                             |  2 +
 dom/bindings/Bindings.conf                     |  4 ++
 dom/webidl/HTMLVideoElement.webidl             |  6 +++
 dom/webidl/VideoPlaybackQuality.webidl         | 20 ++++++++
 dom/webidl/WebIDL.mk                           |  1 +
 12 files changed, 209 insertions(+), 1 deletion(-)
 create mode 100644 content/media/VideoPlaybackQuality.cpp
 create mode 100644 content/media/VideoPlaybackQuality.h
 create mode 100644 dom/webidl/VideoPlaybackQuality.webidl
2013-07-02 15:46:48 +12:00
Chris Pearce
90e7e5ba8f Bug 888175 - Don't log dropped frames in MediaDecoderStateMachine if MOZ_QUIET is set. r=padenot 2013-06-28 22:09:37 +12:00
Matthew Gregan
3aeec3399b Backout 184ef886365d, 4c6a6ac3a9d5, and 59857a435c3b on a CLOSED TREE 2013-06-28 16:55:35 +12:00
Matthew Gregan
2ec725a253 Bug 855130 - Implement HTMLVideoElement's VideoPlaybackQuality (from Media Source Extensions spec). r=roc 2013-06-28 16:32:05 +12:00
Sotaro Ikeda
851f749dbb Bug 884182 - Prevent incorrect state transition. r=doublec 2013-06-25 20:08:58 -04:00
Robert O'Callahan
68148f334d Bug 882027. Make MediaDecoder::UpdateReadyStateForData always be responsible for calling GetNextFrameStatus when that value is passed to HTMLMediaElement::UpdateReadyStateForData, but keep calling GetNextFrameStatus on the state machine thread to suppress dispatching of redundant runnables when nothing has changed. r=cpearce 2013-06-17 17:15:32 +12:00
Sotaro Ikeda
fd8d9a68cd Bug 871485 - Share hw codec between applications/tasks. r=mwu, r=doublec, r=roc 2013-06-10 08:22:05 -04:00
Ryan VanderMeulen
19f19ff152 Backed out changeset 4c129a5676eb (bug 871485) for mochitest-1 failures. 2013-06-07 09:57:05 -04:00
Sotaro Ikeda
ca500d17fb Bug 871485 - Share hw codec between applications/tasks. r=mwu, r=doublec, r=roc 2013-06-07 08:15:44 -04:00
Michael Wu
52f3d84626 Bug 869251 - Disable omx decoder and camera on gonk-JB, r=doublec,glandium 2013-05-02 17:21:22 -04:00
Jacek Caban
1202e53a5e Bug 866561 - Fixed cross compiling for Windows on case sensitive hosts. 2013-05-06 11:33:00 +02:00
Chris Pearce
6b1c0d9bda Bug 866561 - Enable high precision timers on Windows when playing video. r=kinetik 2013-05-03 12:39:19 +12:00
Chris Pearce
20eb836b79 Bug 846992 - Don't assume last video frames in media's timestamp covers all of audio overhang. r=kinetik 2013-04-12 16:50:04 +12:00
Steve Workman
c5bfce27c4 Bug 855064 - Exclude DASH code from default builds r=cpearce 2013-04-02 17:05:00 -07:00
Matthew Gregan
a453f030f7 Bug 852401 - Remove sydneyaudio. r=doublec 2013-03-19 17:12:36 +13:00
Paul Adenot
ca004b9e25 Bug 846612 - r=kinetik 2013-03-04 15:48:58 +01:00
Andrea Marchesini
73d94a5873 Bug 841014 - Rename nsTimeRanges.h to TimeRanges.h. r=Ms2ger 2013-03-02 14:14:44 -05:00
Paul Adenot
37c1fe67a3 Bug 846320 - Offset mBasePosition by mStartTime when seeking. r=kinetik 2013-02-28 16:05:50 +01:00
Paul Adenot
b3973f6bd0 Bug 828901 - Get the seek time as mBasePosition instead of the stream position in video-only stream when changing the playbackRate and seeking at the same time. r=kinetik 2013-01-10 12:26:18 +01:00
Matthew Gregan
c363cfd126 Bug 841020 - Restore missing SetVolume when initializing AudioStream. r=cpearce 2013-02-14 10:57:46 +13:00
Matthew Gregan
664cccc4e3 Bug 837430 - Don't hold the decoder monitor while initializing AudioStreams. r=cpearce 2013-02-08 13:46:33 +13:00
Paul Adenot
9dd758e19b Bug 804875 - Reset media element when loading a new src. r=kinetik 2012-12-27 16:21:30 +01:00
Robert O'Callahan
4383ddcaee Bug 830707. Part 3: Don't constrain AudioSegment to a fixed number of channels. r=jesup 2013-01-21 09:44:44 +13:00
Robert O'Callahan
2bc33bc440 Bug 806754. Part 2: Fix bogus assertions. r=cpearce
SendStreamAudio gets called by SendStreamData which can be called
on the state machine thread since bug 794426 was fixed.
At the same time PlayFromAudioQueuec can no longer guarantee that
mAudioCaptured is false. It could be true and we're waiting for
the audio thread to shut down. We can just remove that assertion;
the logic in SendStreamData guarantees that we don't try to pass
audio to MediaStreams until the audio thread has actually stopped.
2013-01-30 17:20:03 +13:00
Randell Jesup
88b90856e8 bug 804875: backout due to regressions of various uses of .src/mozSrcObject (bugs 836011/835705) rs=kinetik 2013-01-29 18:07:29 -05:00
Paul Adenot
604c245db5 Bug 819377 - Don't offset the clock by the start time of the video in AdvanceFrame, and set the media as playing earlier. r=kinetik 2013-01-24 20:28:48 +01:00
Paul Adenot
3fc7a83428 Bug 804875 - Reset media element when loading a new src. r=kinetik 2013-01-24 20:28:48 +01:00
Matthew Gregan
6f4dec784f Bug 833578 - Start AudioSegment playing after first write rather than waiting for AudioStream's buffer to fill. r=roc 2013-01-23 18:53:10 +13:00
Paul Adenot
85e9c549cb Bug 793274 - Make sure to have enough frames pushed to the AudioStream before starting it. r=kinetik 2012-11-26 15:13:08 +01:00
Ed Morley
efb9ed6934 Backout b3a8618f901c (bug 829042), 34a9ef8f929d (bug 822933), 4c1215cefbab (bug 826349), 70bb7f775178 (bug 825325), e9c8447fb197 (bug 828713), eb6ebf01eafe (bug 828901), f1f3ef647920 (bug 825329), f9d7b5722d4f (bug 825329), 5add564d4546 (bug 819377), 55e93d1fa972 (bug 804875), f14639a3461e (bug 804875), 23456fc21052 (bug 814308) for Windows pgo-only mochitest-1 media test timeouts on a CLOSED TREE 2013-01-16 15:16:23 +00:00
Ed Morley
d3a632e299 Backout 1abf4c88f8f1 (bug 793274) on suspicion of causing win pgo-only mochitest-1 media test timeouts 2013-01-16 10:44:06 +00:00
Matthew Gregan
78c5c9f94b Bug 826104 - Fix audio thread shutdown crash. r=roc 2013-01-14 18:25:02 +13:00
Paul Adenot
459f0f6527 Bug 793274 - Make sure to have enough frames pushed to the AudioStream before starting it. r=kinetik 2012-11-26 15:13:08 +01:00
Paul Adenot
c4a8b73d2e Bug 828901 - Get the seek time as mBasePosition instead of the stream position in video-only stream when changing the playbackRate and seeking at the same time. r=kinetik 2013-01-15 19:57:03 +01:00
Paul Adenot
2e221c1027 Bug 819377 - Don't offset the clock by the start time of the video in AdvanceFrame, and set the media as playing earlier. r=kinetik 2013-01-15 19:57:03 +01:00
Paul Adenot
755156b5cc Bug 804875 - Reset media element when loading a new src. r=kinetik 2013-01-15 19:57:03 +01:00